Browse Source

show please wait message on repeater boot

pull/165/head
liamcottle 1 year ago
parent
commit
f93a5156bb
  1. 9
      examples/simple_repeater/main.cpp

9
examples/simple_repeater/main.cpp

@ -616,6 +616,14 @@ void setup() {
board.begin();
#ifdef DISPLAY_CLASS
if(display.begin()){
display.startFrame();
display.print("Please wait...");
display.endFrame();
}
#endif
if (!radio_init()) { halt(); }
fast_rng.begin(radio_get_rng_seed());
@ -646,7 +654,6 @@ void setup() {
the_mesh.begin(fs);
#ifdef DISPLAY_CLASS
display.begin();
ui_task.begin(the_mesh.getNodeName(), FIRMWARE_BUILD_DATE);
#endif

Loading…
Cancel
Save