mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-19 09:12:45 +00:00
WIP - bringup on PPR
This commit is contained in:
@@ -151,7 +151,8 @@ void setup()
|
||||
#else
|
||||
Wire.begin();
|
||||
#endif
|
||||
scanI2Cdevice();
|
||||
// i2c still busted on new board
|
||||
// scanI2Cdevice();
|
||||
|
||||
// Buttons & LED
|
||||
#ifdef BUTTON_PIN
|
||||
@@ -180,6 +181,9 @@ void setup()
|
||||
nrf52Setup();
|
||||
#endif
|
||||
|
||||
extern void testLCD();
|
||||
// testLCD();
|
||||
|
||||
// Initialize the screen first so we can show the logo while we start up everything else.
|
||||
if (ssd1306_found)
|
||||
screen.setup();
|
||||
@@ -233,7 +237,7 @@ void setup()
|
||||
new SimRadio();
|
||||
#endif
|
||||
|
||||
if (!rIf->init())
|
||||
if (!rIf || !rIf->init())
|
||||
recordCriticalError(ErrNoRadio);
|
||||
else
|
||||
router.addInterface(rIf);
|
||||
|
||||
Reference in New Issue
Block a user