Fix lenght of LCD from 20 chars to 16 chars

This commit is contained in:
Mario Hüttel 2020-05-04 21:36:37 +02:00
parent ea3d0121cc
commit 3d48bfb6a6

View File

@ -421,7 +421,7 @@ enum lcd_fsm_ret lcd_fsm_write_buffer(const char (*display_buffer)[21])
lcd_fsm_enable(false); lcd_fsm_enable(false);
ret = LCD_FSM_WAIT_CALL; ret = LCD_FSM_WAIT_CALL;
char_cnt++; char_cnt++;
if (char_cnt < 20) { if (char_cnt < 16) {
state_cnt = 5; state_cnt = 5;
} else { } else {
state_cnt = 0; state_cnt = 0;