Skip to content

Commit 76f4d6f

Browse files
authored
Merge pull request #12 from antoinh/develop
configUSE_TICKLESS_IDLE
2 parents 772c42e + 4818d80 commit 76f4d6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

FreeRTOS-Cpp/include/FreeRTOS/Kernel.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ inline void suspendAll() { vTaskSuspendAll(); }
352352
*/
353353
inline bool resumeAll() { return (xTaskResumeAll() == pdTRUE); }
354354

355+
#if configUSE_TICKLESS_IDLE
355356
/**
356357
* Kernel.hpp
357358
*
@@ -372,6 +373,7 @@ inline bool resumeAll() { return (xTaskResumeAll() == pdTRUE); }
372373
inline void stepTick(const TickType_t ticksToJump) {
373374
vTaskStepTick(ticksToJump);
374375
}
376+
#endif
375377

376378
/**
377379
* Kernel.hpp

0 commit comments

Comments
 (0)