show please wait message on repeater boot
This commit is contained in:
@@ -616,6 +616,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());
|
||||||
@@ -646,7 +654,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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user