enable power-off mode (standby mode)
This commit is contained in:
parent
b962075793
commit
af2b012e13
|
@ -122,7 +122,8 @@ void SystemApp_Init(void)
|
|||
/*Init low power manager*/
|
||||
UTIL_LPM_Init();
|
||||
/* Disable Stand-by mode */
|
||||
UTIL_LPM_SetOffMode((1 << CFG_LPM_APPLI_Id), UTIL_LPM_DISABLE);
|
||||
//UTIL_LPM_SetOffMode((1 << CFG_LPM_APPLI_Id), UTIL_LPM_DISABLE);
|
||||
UTIL_LPM_SetOffMode((1 << CFG_LPM_APPLI_Id), UTIL_LPM_ENABLE);
|
||||
|
||||
#if defined (LOW_POWER_DISABLE) && (LOW_POWER_DISABLE == 1)
|
||||
/* Disable Stop Mode */
|
||||
|
|
|
@ -71,7 +71,7 @@ extern "C" {
|
|||
/*!
|
||||
* LoRaWAN default class
|
||||
*/
|
||||
#define LORAWAN_DEFAULT_CLASS CLASS_C
|
||||
#define LORAWAN_DEFAULT_CLASS CLASS_A
|
||||
|
||||
/*!
|
||||
* LoRaWAN default confirm state
|
||||
|
|
Loading…
Reference in New Issue