Update advertisement condition to include NO_BOOT_ADVERT check
This commit is contained in:
@@ -80,7 +80,7 @@ void setup() {
|
|||||||
ui_task.begin(the_mesh.getNodePrefs(), FIRMWARE_BUILD_DATE, FIRMWARE_VERSION);
|
ui_task.begin(the_mesh.getNodePrefs(), FIRMWARE_BUILD_DATE, FIRMWARE_VERSION);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(STEALTH_MODE)
|
#if !defined(STEALTH_MODE) && !defined(NO_BOOT_ADVERT)
|
||||||
// send out initial Zero Hop Advertisement to the mesh
|
// send out initial Zero Hop Advertisement to the mesh
|
||||||
the_mesh.sendSelfAdvertisement(16000, false);
|
the_mesh.sendSelfAdvertisement(16000, false);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ void setup() {
|
|||||||
ui_task.begin(the_mesh.getNodePrefs(), FIRMWARE_BUILD_DATE, FIRMWARE_VERSION);
|
ui_task.begin(the_mesh.getNodePrefs(), FIRMWARE_BUILD_DATE, FIRMWARE_VERSION);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(STEALTH_MODE)
|
#if !defined(STEALTH_MODE) && !defined(NO_BOOT_ADVERT)
|
||||||
// send out initial Zero Hop Advertisement to the mesh
|
// send out initial Zero Hop Advertisement to the mesh
|
||||||
the_mesh.sendSelfAdvertisement(16000, false);
|
the_mesh.sendSelfAdvertisement(16000, false);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ void setup() {
|
|||||||
ui_task.begin(the_mesh.getNodePrefs(), FIRMWARE_BUILD_DATE, FIRMWARE_VERSION);
|
ui_task.begin(the_mesh.getNodePrefs(), FIRMWARE_BUILD_DATE, FIRMWARE_VERSION);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(STEALTH_MODE)
|
#if !defined(STEALTH_MODE) && !defined(NO_BOOT_ADVERT)
|
||||||
// send out initial Zero Hop Advertisement to the mesh
|
// send out initial Zero Hop Advertisement to the mesh
|
||||||
the_mesh.sendSelfAdvertisement(16000, false);
|
the_mesh.sendSelfAdvertisement(16000, false);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user