diff --git a/examples/simple_repeater/main.cpp b/examples/simple_repeater/main.cpp index 2712376e..7132d9a6 100644 --- a/examples/simple_repeater/main.cpp +++ b/examples/simple_repeater/main.cpp @@ -80,7 +80,7 @@ void setup() { ui_task.begin(the_mesh.getNodePrefs(), FIRMWARE_BUILD_DATE, FIRMWARE_VERSION); #endif -#if !defined(STEALTH_MODE) +#if !defined(STEALTH_MODE) && !defined(NO_BOOT_ADVERT) // send out initial Zero Hop Advertisement to the mesh the_mesh.sendSelfAdvertisement(16000, false); #endif diff --git a/examples/simple_room_server/main.cpp b/examples/simple_room_server/main.cpp index 257d1d09..70af5dbe 100644 --- a/examples/simple_room_server/main.cpp +++ b/examples/simple_room_server/main.cpp @@ -76,7 +76,7 @@ void setup() { ui_task.begin(the_mesh.getNodePrefs(), FIRMWARE_BUILD_DATE, FIRMWARE_VERSION); #endif -#if !defined(STEALTH_MODE) +#if !defined(STEALTH_MODE) && !defined(NO_BOOT_ADVERT) // send out initial Zero Hop Advertisement to the mesh the_mesh.sendSelfAdvertisement(16000, false); #endif diff --git a/examples/simple_sensor/main.cpp b/examples/simple_sensor/main.cpp index 08b2d57b..76a16166 100644 --- a/examples/simple_sensor/main.cpp +++ b/examples/simple_sensor/main.cpp @@ -110,7 +110,7 @@ void setup() { ui_task.begin(the_mesh.getNodePrefs(), FIRMWARE_BUILD_DATE, FIRMWARE_VERSION); #endif -#if !defined(STEALTH_MODE) +#if !defined(STEALTH_MODE) && !defined(NO_BOOT_ADVERT) // send out initial Zero Hop Advertisement to the mesh the_mesh.sendSelfAdvertisement(16000, false); #endif