Merge pull request #83 from andrzej-kaczmarek/test-fix

nimble: Fix tests build with NPL
This commit is contained in:
Andrzej Kaczmarek
2018-05-09 20:38:24 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -23,6 +23,7 @@
#include "os/os.h"
#include "nimble/ble.h"
#include "nimble/hci_common.h"
#include "nimble/nimble_npl.h"
#include "controller/ble_ll_sched.h"
#include "controller/ble_ll_ctrl.h"
#include "controller/ble_phy.h"
+1 -1
View File
@@ -127,7 +127,7 @@ ble_hs_locked_by_cur_task(void)
return ble_hs_dbg_mutex_locked;
}
owner = ble_hs_mutex.mu_owner;
owner = ble_hs_mutex.mu.mu_owner;
return owner != NULL && owner == os_sched_get_current_task();
}
#endif