Skip to content

Commit 2fcb781

Browse files
authored
nimble/host: Fix a build warning caused by undeclared ARRAY_SIZE macro
Use of undeclared ARRAY_SIZE macro causes build warning. Add include to "os/util.h" in ble_store_config.c file.
1 parent 2a14c85 commit 2fcb781

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nimble/host/store/config/src/ble_store_config.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "syscfg/syscfg.h"
2525
#include "host/ble_hs.h"
2626
#include "base64/base64.h"
27+
#include "os/util.h"
2728
#include "store/config/ble_store_config.h"
2829
#include "ble_store_config_priv.h"
2930

0 commit comments

Comments
 (0)