diff options
Diffstat (limited to 'Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pClient/Core/Src/app_entry.c')
-rw-r--r-- | Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pClient/Core/Src/app_entry.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pClient/Core/Src/app_entry.c b/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pClient/Core/Src/app_entry.c index d1bdfdfbb..97a6a8b82 100644 --- a/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pClient/Core/Src/app_entry.c +++ b/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pClient/Core/Src/app_entry.c @@ -69,8 +69,8 @@ static void SystemPower_Config( void ); static void Init_Debug( void ); static void appe_Tl_Init( void ); static void APPE_SysStatusNot( SHCI_TL_CmdStatus_t status ); - static void APPE_SysUserEvtRx( void * pPayload ); + #if (CFG_HW_LPUART1_ENABLED == 1) extern void MX_LPUART1_UART_Init(void); #endif @@ -107,7 +107,7 @@ void APPE_Init( void ) /** * From now, the application is waiting for the ready event ( VS_HCI_C2_Ready ) - * received on the system channel before starting the BLE Stack + * received on the system channel before starting the Stack * This system event is received with APPE_SysUserEvtRx() */ /* USER CODE BEGIN APPE_Init_2 */ @@ -220,8 +220,6 @@ static void appe_Tl_Init( void ) return; } - - static void APPE_SysStatusNot( SHCI_TL_CmdStatus_t status ) { UNUSED(status); @@ -235,7 +233,7 @@ static void APPE_SysUserEvtRx( void * pPayload ) TL_TRACES_Init( ); APP_BLE_Init( ); - UTIL_LPM_SetOffMode(1 << CFG_LPM_APP, UTIL_LPM_ENABLE); + UTIL_LPM_SetOffMode(1U << CFG_LPM_APP, UTIL_LPM_ENABLE); return; } @@ -285,7 +283,6 @@ void UTIL_SEQ_Idle( void ) return; } - /** * @brief This function is called by the scheduler each time an event * is pending. |