Enter sleep mode in the idle task.

This commit is contained in:
Richard Barry 2010-12-23 11:24:14 +00:00
parent 52b4c95301
commit 556fc15e99
8 changed files with 698 additions and 16 deletions

View file

@ -67,7 +67,7 @@
*----------------------------------------------------------*/
#define configUSE_PREEMPTION 1
#define configUSE_IDLE_HOOK 0
#define configUSE_IDLE_HOOK 1
#define configUSE_TICK_HOOK 1
#define configCPU_CLOCK_HZ ( 32000000UL )
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )