mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
init display before radio
This commit is contained in:
parent
7e583d7f98
commit
4d4a0ae4e3
1 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue