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

@ -582,7 +582,9 @@ void setup() {
the_mesh.showWelcome();
// send out initial Advertisement to the mesh
#if ENABLE_ADVERT_ON_BOOT == 1
the_mesh.sendSelfAdvert(1200); // add slight delay
#endif
}
void loop() {