From 58fa831f31ac3cbcbc4150f4656c0c971899c88a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kopy=C5=9Bci=C5=84ski?= Date: Tue, 12 Jan 2021 15:29:01 +0100 Subject: [PATCH] mesh/cdb.c: fix code style --- nimble/host/mesh/src/cdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nimble/host/mesh/src/cdb.c b/nimble/host/mesh/src/cdb.c index fca502d80..bcca3b90b 100644 --- a/nimble/host/mesh/src/cdb.c +++ b/nimble/host/mesh/src/cdb.c @@ -227,7 +227,7 @@ struct bt_mesh_cdb_subnet *bt_mesh_cdb_subnet_get(uint16_t net_idx) void bt_mesh_cdb_subnet_store(const struct bt_mesh_cdb_subnet *sub) { - if MYNEWT_VAL(BLE_MESH_SETTINGS) { + if (MYNEWT_VAL(BLE_MESH_SETTINGS)) { bt_mesh_store_cdb_subnet(sub); } } @@ -309,7 +309,7 @@ struct bt_mesh_cdb_node *bt_mesh_cdb_node_get(uint16_t addr) void bt_mesh_cdb_node_store(const struct bt_mesh_cdb_node *node) { - if MYNEWT_VAL(BLE_MESH_SETTINGS) { + if (MYNEWT_VAL(BLE_MESH_SETTINGS)) { bt_mesh_store_cdb_node(node); } } @@ -382,7 +382,7 @@ struct bt_mesh_cdb_app_key *bt_mesh_cdb_app_key_get(uint16_t app_idx) void bt_mesh_cdb_app_key_store(const struct bt_mesh_cdb_app_key *key) { - if MYNEWT_VAL(BLE_MESH_SETTINGS) { + if (MYNEWT_VAL(BLE_MESH_SETTINGS)) { bt_mesh_store_cdb_app_key(key); } }