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:
		@ -280,16 +280,16 @@ void update_display(){
 | 
				
			|||||||
			tft.setTextSize(6,8);
 | 
								tft.setTextSize(6,8);
 | 
				
			||||||
			tft.drawText(132, 0, 'L', b);
 | 
								tft.drawText(132, 0, 'L', b);
 | 
				
			||||||
			tft.setTextSize(2,7);
 | 
								tft.setTextSize(2,7);
 | 
				
			||||||
			tft.drawText(0, 20, 'L', k);
 | 
								tft.drawText(10, 20, 'L', k);
 | 
				
			||||||
			tft.drawText(240, 20, 'L', m);
 | 
								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(120, 130, 'L', i);
 | 
				
			||||||
			tft.drawText(240,130, 'L', j);
 | 
								tft.drawText(240,130, 'L', j);
 | 
				
			||||||
			tft.setTextSize(1,1);	
 | 
								tft.setTextSize(1,1);	
 | 
				
			||||||
			tft.drawText(136,116, 'L', "Gang");
 | 
								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(240,116, 'L', "Drehzahl");
 | 
				
			||||||
			tft.drawText(0,226, 'L', d);
 | 
								tft.drawText(10,226, 'L', d);
 | 
				
			||||||
			tft.drawText(120,226, 'L', e);
 | 
								tft.drawText(120,226, 'L', e);
 | 
				
			||||||
			tft.drawText(240,226, 'L', f);
 | 
								tft.drawText(240,226, 'L', f);
 | 
				
			||||||
			/*if (cleaner){
 | 
								/*if (cleaner){
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user