mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-05 15:15:25 +00:00
Set the low power mode entered in the idle hook to 3 in the MSP430X/IAR demo.
This commit is contained in:
@@ -605,8 +605,8 @@ const unsigned short usACLK_Frequency_Hz = 32768;
|
|||||||
void vApplicationIdleHook( void )
|
void vApplicationIdleHook( void )
|
||||||
{
|
{
|
||||||
/* Called on each iteration of the idle task. In this case the idle task
|
/* Called on each iteration of the idle task. In this case the idle task
|
||||||
just enters a low(ish) power mode. */
|
just enters a low power mode. */
|
||||||
__bis_SR_register( LPM1_bits + GIE );
|
__bis_SR_register( LPM3_bits + GIE );
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user