init display before radio
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user