Open derekmulcahy opened 4 years ago
The vApplicationIdleHook() is defined in freertos/lib/osentry.c as
void vApplicationIdleHook(void) { }
better code would be
#if ( configUSE_IDLE_HOOK == 1 ) void __attribute__((weak)) vApplicationIdleHook(void) { } #endif /* configUSE_IDLE_HOOK */
as this would allow the application to implement the hook and it would not define the hook unless it is needed. I have tested this and it works well.
The vApplicationIdleHook() is defined in freertos/lib/osentry.c as
better code would be
as this would allow the application to implement the hook and it would not define the hook unless it is needed. I have tested this and it works well.