mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-08-02 20:18:51 +08:00
Change clock_time_t from a fixed unsigned long to portTickType so it works ok when configUSE_16_BIT_TICKS is set to 1.
This commit is contained in:
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
#include "FreeRTOS.h"
|
#include "FreeRTOS.h"
|
||||||
|
|
||||||
typedef unsigned long clock_time_t;
|
typedef portTickType clock_time_t;
|
||||||
#define CLOCK_CONF_SECOND configTICK_RATE_HZ
|
#define CLOCK_CONF_SECOND configTICK_RATE_HZ
|
||||||
|
|
||||||
#endif /* __CLOCK_ARCH_H__ */
|
#endif /* __CLOCK_ARCH_H__ */
|
||||||
|
Reference in New Issue
Block a user