added build flag to enable/disable boot advert

This commit is contained in:
liamcottle
2026-01-26 22:39:39 +13:00
parent ed589f9620
commit d13bc446de
5 changed files with 9 additions and 0 deletions

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() {