Add code to the idle hook to test low power mode operation.

This commit is contained in:
Richard Barry 2008-10-19 18:51:16 +00:00
parent 0463a4814b
commit 549dcfa148
3 changed files with 25 additions and 5 deletions

View file

@ -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 )