mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
added build flag to enable/disable boot advert
This commit is contained in:
parent
ed589f9620
commit
d13bc446de
5 changed files with 9 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue