Skip to content

Commit f3bd03d

Browse files
committed
Continue if display is not detected
1 parent 1b878c9 commit f3bd03d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Firmware/GNSSDO_Firmware/Display.ino

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ void beginDisplay(TwoWire *i2cBus)
2222
return;
2323

2424
if (i2cBus == nullptr)
25-
reportFatalError("Illegal display i2cBus");
25+
{
26+
//reportFatalError("Illegal display i2cBus");
27+
systemPrintln("ERROR: Illegal display i2cBus! Failed to detect the display! Continuing...\r\n");
28+
return;
29+
}
2630

2731
uint8_t i2cAddress;
2832
uint16_t x;

0 commit comments

Comments
 (0)