]> begriffs open source - freertos/commit
Add time conversion macros (#866) 762/head
authorDarian <32921628+Dazza0@users.noreply.github.com>
Wed, 8 Nov 2023 05:34:53 +0000 (13:34 +0800)
committerGitHub <noreply@github.com>
Wed, 8 Nov 2023 05:34:53 +0000 (11:04 +0530)
commit9c649ea7d1dd0206092697d73c894fd2c4fe29b3
tree4b7849a44cfe26540ae6660fb0e3318d4e0623a2
parent0640b2e4863bfdf628406cc90e29200a9220e088
Add time conversion macros (#866)

This commit updates the following time conversion macros:

- pdMS_TO_TICKS: Added cast to "uint64_t" to prevent overflow
- pdTICKS_TO_MS: Added macro to convert ticks to milliseconds

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
include/projdefs.h