added build flag to enable/disable boot advert

This commit is contained in:
liamcottle committed 2026-01-26 22:39:39 +13:00
1 parent 6cb97cca77
commit c8992ae5b6
5 files changed
+9

No files matched your search

+2
View File
@@ -111,7 +111,9 @@ void setup() {
#endif
// send out initial zero hop Advertisement to the mesh
#if ENABLE_ADVERT_ON_BOOT == 1
the_mesh.sendSelfAdvertisement(16000, false);
#endif
}
void loop() {