Eliminate some warnings found in build-testing
This commit is contained in:
parent
82aa7a486c
commit
1d044e6952
@ -43,8 +43,11 @@
|
|||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
#include <nuttx/compiler.h>
|
#include <nuttx/compiler.h>
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include <arch/stm32/chip.h>
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
@ -401,6 +401,7 @@ static void bt_discover_destroy(FAR void *arg)
|
|||||||
|
|
||||||
wlinfo("Discover destroy. params %p\n", params);
|
wlinfo("Discover destroy. params %p\n", params);
|
||||||
DEBUGASSERT(params != NULL && g_discoverstate.bd_discovering);
|
DEBUGASSERT(params != NULL && g_discoverstate.bd_discovering);
|
||||||
|
UNUSED(params);
|
||||||
|
|
||||||
memset(&g_discoverstate.bd_params, 0, sizeof(struct btnet_discoverstate_s));
|
memset(&g_discoverstate.bd_params, 0, sizeof(struct btnet_discoverstate_s));
|
||||||
nxsem_destroy(&g_discoverstate.bd_exclsem);
|
nxsem_destroy(&g_discoverstate.bd_exclsem);
|
||||||
|
Loading…
Reference in New Issue
Block a user