Skip to content

Commit 58fa831

Browse files
KKopyscinskirymanluk
authored andcommitted
mesh/cdb.c: fix code style
1 parent 5bcfd16 commit 58fa831

File tree

1 file changed

+3
-3
lines changed
  • nimble/host/mesh/src

1 file changed

+3
-3
lines changed

nimble/host/mesh/src/cdb.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ struct bt_mesh_cdb_subnet *bt_mesh_cdb_subnet_get(uint16_t net_idx)
227227

228228
void bt_mesh_cdb_subnet_store(const struct bt_mesh_cdb_subnet *sub)
229229
{
230-
if MYNEWT_VAL(BLE_MESH_SETTINGS) {
230+
if (MYNEWT_VAL(BLE_MESH_SETTINGS)) {
231231
bt_mesh_store_cdb_subnet(sub);
232232
}
233233
}
@@ -309,7 +309,7 @@ struct bt_mesh_cdb_node *bt_mesh_cdb_node_get(uint16_t addr)
309309

310310
void bt_mesh_cdb_node_store(const struct bt_mesh_cdb_node *node)
311311
{
312-
if MYNEWT_VAL(BLE_MESH_SETTINGS) {
312+
if (MYNEWT_VAL(BLE_MESH_SETTINGS)) {
313313
bt_mesh_store_cdb_node(node);
314314
}
315315
}
@@ -382,7 +382,7 @@ struct bt_mesh_cdb_app_key *bt_mesh_cdb_app_key_get(uint16_t app_idx)
382382

383383
void bt_mesh_cdb_app_key_store(const struct bt_mesh_cdb_app_key *key)
384384
{
385-
if MYNEWT_VAL(BLE_MESH_SETTINGS) {
385+
if (MYNEWT_VAL(BLE_MESH_SETTINGS)) {
386386
bt_mesh_store_cdb_app_key(key);
387387
}
388388
}

0 commit comments

Comments
 (0)