mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-01 15:40:49 +00:00
guard against a few more null screen pointers
This commit is contained in:
@@ -961,7 +961,7 @@ void setup()
|
||||
screen->setup();
|
||||
}
|
||||
#else
|
||||
if (screen_found.port != ScanI2C::I2CPort::NO_I2C)
|
||||
if (screen_found.port != ScanI2C::I2CPort::NO_I2C && screen)
|
||||
screen->setup();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user