Changeset 464 for azure_iot_hub_f767zi/trunk/azure_iot_sdk/c-utility/inc/azure_c_shared_utility/tickcounter.h
- Timestamp:
- Jun 22, 2021, 9:00:19 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
azure_iot_hub_f767zi/trunk/azure_iot_sdk/c-utility/inc/azure_c_shared_utility/tickcounter.h
r457 r464 18 18 #endif /* __cplusplus */ 19 19 20 #if defined(_WIN32) || defined(__MBED__) || defined(__APPLE__)21 20 typedef uint_fast64_t tickcounter_ms_t; // Use 64-bit because of 32-bit is going to roll over back to zero after roughly 49.7 days that is not good for IoT devices which need keep running for months 22 #else23 typedef uint_fast32_t tickcounter_ms_t;24 #endif25 21 typedef struct TICK_COUNTER_INSTANCE_TAG *TICK_COUNTER_HANDLE; 26 22
Note:
See TracChangeset
for help on using the changeset viewer.