@@ -225,7 +225,7 @@ void Layouts::drawStandardLayout2(
225
225
#define ACC_WARNING_TEMP 52
226
226
// TODO!!! placeholder!! ENSURE THIS IS THE CORRECT VALUE!!!!
227
227
228
- void Layouts::drawLayout3 (Faults faults, float mtr_volt , uint8_t acc_temp,
228
+ void Layouts::drawLayout3 (Faults faults, float acc_volt , uint8_t acc_temp,
229
229
uint8_t ctrl_temp, uint8_t mtr_temp, uint8_t soc,
230
230
float glv, bool rtds, int tick) {
231
231
// --------init-------------
@@ -285,7 +285,7 @@ void Layouts::drawLayout3(Faults faults, float mtr_volt, uint8_t acc_temp,
285
285
286
286
// ---------MC warning box----------
287
287
Color mc_volts_bg = Color {18 , 219 , 255 };
288
- if (mtr_volt < MC_WARNING_VOLT) { // flash the box to alarm driver if MC volts below warning point
288
+ if (acc_volt < MC_WARNING_VOLT) { // flash the box to alarm driver if MC volts below warning point
289
289
if (tick % 2 == 0 ) {
290
290
mc_volts_bg = red;
291
291
}
@@ -322,7 +322,7 @@ void Layouts::drawLayout3(Faults faults, float mtr_volt, uint8_t acc_temp,
322
322
323
323
// ___MC and ACC______
324
324
drawFormattedText (275 , 75 ,
325
- " MC \n %03.1f V " , 1 , OPT_CENTER, mtr_volt );
325
+ " ACC \n %03.1f V " , 1 , OPT_CENTER, acc_volt );
326
326
drawFormattedText (525 , 75 ,
327
327
" ACC\n %03d'C " , 1 , OPT_CENTER, acc_temp);
328
328
0 commit comments