diff --git a/lcd.c b/lcd.c index e1341ce..ce65e92 100644 --- a/lcd.c +++ b/lcd.c @@ -245,6 +245,10 @@ void lcd_clear(void) void lcd_locate(uint8_t row, uint8_t col) { + if (!lcd_initialized) { + return; + } + if (row) col += 0x40; lcd_send_byte(0x80 + col, 0);