From 7e583d7f98e84835d56dda18908b4c3ada46064c Mon Sep 17 00:00:00 2001 From: liamcottle Date: Tue, 1 Apr 2025 16:04:06 +1300 Subject: [PATCH] show please wait message on room server boot --- examples/simple_room_server/main.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/examples/simple_room_server/main.cpp b/examples/simple_room_server/main.cpp index 34c8ebdf..36938ef6 100644 --- a/examples/simple_room_server/main.cpp +++ b/examples/simple_room_server/main.cpp @@ -846,6 +846,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()); @@ -875,7 +883,6 @@ void setup() { the_mesh.begin(fs); #ifdef DISPLAY_CLASS - display.begin(); ui_task.begin(the_mesh.getNodeName(), FIRMWARE_BUILD_DATE); #endif