mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Set the low power mode entered in the idle hook to 3 in the MSP430X/IAR demo.
This commit is contained in:
parent
8d33f44809
commit
5a0782e3a8
|
@ -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 );
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue