create MeshRadio even on NRF52 (though it is currently using a Sim interface)

1.2-legacy
geeksville 2020-04-23 12:50:54 -07:00
rodzic e94227cddd
commit b77c068881
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -283,11 +283,9 @@ void setup()
service.init();
#ifndef NO_ESP32
// MUST BE AFTER service.init, so we have our radio config settings (from nodedb init)
radio = new MeshRadio();
router.addInterface(&radio->radioIf);
#endif
if (radio && !radio->init())
recordCriticalError(ErrNoRadio);