Corrected missing include + typo
This commit is contained in:
parent
d82cf42191
commit
bf6433983b
@ -1,6 +1,7 @@
|
|||||||
#include "ble_modem.h"
|
#include "ble_modem.h"
|
||||||
#include "app_common.h"
|
#include "app_common.h"
|
||||||
#include "host/ble_hs.h"
|
#include "host/ble_hs.h"
|
||||||
|
#include "FreeRTOS.h"
|
||||||
#include "wm_bt_def.h"
|
#include "wm_bt_def.h"
|
||||||
#include "wm_bt_app.h"
|
#include "wm_bt_app.h"
|
||||||
#include "wm_bt_util.h"
|
#include "wm_bt_util.h"
|
||||||
@ -57,7 +58,7 @@ bool ble_modem_off(void)
|
|||||||
uint8_t timeout = 0;
|
uint8_t timeout = 0;
|
||||||
while(ble_service_is_started())
|
while(ble_service_is_started())
|
||||||
{
|
{
|
||||||
tls_os_time_delay(pdMS_TO_TICK(1));
|
tls_os_time_delay(pdMS_TO_TICKS(1));
|
||||||
|
|
||||||
// Service is stuck ?
|
// Service is stuck ?
|
||||||
if(++timeout > 10)
|
if(++timeout > 10)
|
||||||
|
Loading…
Reference in New Issue
Block a user