show screen messages out serial port (for screenless devices)
This commit is contained in:
1 parent
fb662abe6d
commit
2a2e8172e3
1 file changed
+1
@@ -92,6 +92,7 @@ void screen_print(const char * text, uint8_t x, uint8_t y) {
|
||||
}
|
||||
|
||||
void screen_print(const char * text) {
|
||||
Serial.printf("Screen: %s\n", text);
|
||||
if(!display) return;
|
||||
|
||||
display->print(text);
|
||||
|
||||
Reference in new issue
Block a user