init display before radio

This commit is contained in:
liamcottle
2025-04-01 16:10:12 +13:00
parent 7e583d7f98
commit 4d4a0ae4e3

View File

@@ -1433,10 +1433,6 @@ void setup() {
board.begin(); board.begin();
if (!radio_init()) { halt(); }
fast_rng.begin(radio_get_rng_seed());
#ifdef HAS_UI #ifdef HAS_UI
DisplayDriver* disp = NULL; DisplayDriver* disp = NULL;
#ifdef DISPLAY_CLASS #ifdef DISPLAY_CLASS
@@ -1449,6 +1445,10 @@ void setup() {
#endif #endif
#endif #endif
if (!radio_init()) { halt(); }
fast_rng.begin(radio_get_rng_seed());
#if defined(NRF52_PLATFORM) #if defined(NRF52_PLATFORM)
InternalFS.begin(); InternalFS.begin();
the_mesh.begin(InternalFS, the_mesh.begin(InternalFS,