From 5640b631b4bc674410ab80dbe8c62f54651d6093 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 23 Oct 2017 11:33:38 +0200 Subject: [PATCH] samples: mesh_demo: Enable relay by default for the micro:bit The relay functionality was supposed to be always enabled rather than always disabled on the micro:bit. Signed-off-by: Johan Hedberg --- samples/bluetooth/mesh_demo/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/bluetooth/mesh_demo/src/main.c b/samples/bluetooth/mesh_demo/src/main.c index e1e410ee51..52849d00b3 100644 --- a/samples/bluetooth/mesh_demo/src/main.c +++ b/samples/bluetooth/mesh_demo/src/main.c @@ -54,7 +54,7 @@ static void heartbeat(u8_t hops, u16_t feat) static struct bt_mesh_cfg cfg_srv = { #if defined(CONFIG_BOARD_BBC_MICROBIT) - .relay = BT_MESH_RELAY_DISABLED, + .relay = BT_MESH_RELAY_ENABLED, .beacon = BT_MESH_BEACON_DISABLED, #else .relay = BT_MESH_RELAY_ENABLED,