diff options
Diffstat (limited to 'tests/unit/stubs/freertos')
| -rw-r--r-- | tests/unit/stubs/freertos/FreeRTOS.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/stubs/freertos/FreeRTOS.h b/tests/unit/stubs/freertos/FreeRTOS.h index 0fee758..696da87 100644 --- a/tests/unit/stubs/freertos/FreeRTOS.h +++ b/tests/unit/stubs/freertos/FreeRTOS.h | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | static inline uint32_t xTaskGetTickCount(void) { return 0; } | 6 | static inline uint32_t xTaskGetTickCount(void) { return 0; } |
| 7 | static inline void vTaskDelay(uint32_t ticks) { (void)ticks; } | 7 | static inline void vTaskDelay(uint32_t ticks) { (void)ticks; } |
| 8 | #define pdMS_TO_TICKS(ms) ((ms) / 10) | 8 | #define pdMS_TO_TICKS(ms) ((ms) / 10) |
| 9 | #define portTICK_PERIOD_MS 10 | ||
| 9 | #define portMAX_DELAY 0xFFFFFFFF | 10 | #define portMAX_DELAY 0xFFFFFFFF |
| 10 | 11 | ||
| 11 | #endif | 12 | #endif |