Don't draw text at the left edge

Part of the display of one of the steering wheels is blocked by a cable
tie.
This commit is contained in:
jvblanck 2021-07-18 19:24:41 +02:00
parent 895280cb5a
commit e3f20ebe57
1 changed files with 4 additions and 4 deletions

View File

@ -280,16 +280,16 @@ void update_display(){
tft.setTextSize(6,8);
tft.drawText(132, 0, 'L', b);
tft.setTextSize(2,7);
tft.drawText(0, 20, 'L', k);
tft.drawText(10, 20, 'L', k);
tft.drawText(240, 20, 'L', m);
tft.drawText(0,130, 'L', c);
tft.drawText(10,130, 'L', c);
tft.drawText(120, 130, 'L', i);
tft.drawText(240,130, 'L', j);
tft.setTextSize(1,1);
tft.drawText(136,116, 'L', "Gang");
tft.drawText(0,116, 'L', "P_fuel");
tft.drawText(10,116, 'L', "P_fuel");
tft.drawText(240,116, 'L', "Drehzahl");
tft.drawText(0,226, 'L', d);
tft.drawText(10,226, 'L', d);
tft.drawText(120,226, 'L', e);
tft.drawText(240,226, 'L', f);
/*if (cleaner){