Skip to content

Commit 1f5c73c

Browse files
authored
fix display init
1 parent b97e49d commit 1f5c73c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1838,6 +1838,7 @@ void initDisplay(){
18381838
String chipId = getChipIdHex();
18391839
String infoText = "opendisplay.org\nName: OD" + chipId + "\nFW: " + String(getFirmwareMajor()) + "." + String(getFirmwareMinor()) + "\nFirmware by\nJonas Niesner";
18401840
if (! (globalConfig.displays[0].transmission_modes & TRANSMISSION_MODE_CLEAR_ON_BOOT)){
1841+
writeTextAndFill(infoText.c_str());
18411842
bbepRefresh(&bbep, REFRESH_FULL);
18421843
waitforrefresh(60);
18431844
}
@@ -3520,4 +3521,4 @@ void imageDataWritten(BLEConnHandle conn_hdl, BLECharPtr chr, uint8_t* data, uin
35203521
break;
35213522
}
35223523
writeSerial("Command processing completed successfully");
3523-
}
3524+
}

0 commit comments

Comments
 (0)