show screen messages out serial port (for screenless devices)

This commit is contained in:
geeksville 2020-02-01 05:02:45 -08:00
parent fb662abe6d
commit 2a2e8172e3

View File

@ -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);