Browse Source

show please wait message on room server boot

pull/165/head
liamcottle 1 year ago
parent
commit
7e583d7f98
  1. 9
      examples/simple_room_server/main.cpp

9
examples/simple_room_server/main.cpp

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

Loading…
Cancel
Save