mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Add code to the idle hook to test low power mode operation.
This commit is contained in:
parent
0463a4814b
commit
549dcfa148
3 changed files with 25 additions and 5 deletions
|
|
@ -65,7 +65,7 @@
|
|||
*----------------------------------------------------------*/
|
||||
|
||||
#define configUSE_PREEMPTION 1
|
||||
#define configUSE_IDLE_HOOK 0
|
||||
#define configUSE_IDLE_HOOK 1
|
||||
#define configUSE_TICK_HOOK 0
|
||||
#define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 7995392 ) /* Clock setup from main.c in the demo application. */
|
||||
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue