35,9 → 35,6 |
if (COSD_FLAGS2 & COSD_FLAG_STROMREC) { |
write_char_xy(7, bottom_line - 1, 0x9F); // small A |
write_char_xy(14, bottom_line - 1, 0xB5); // mah |
if (COSD_FLAGS & COSD_FLAG_STROMVOLT) { |
write_char_xy(21, bottom_line - 1, 0x9E); // small V |
} |
} |
COSD_FLAGS2 |= COSD_ICONS_WRITTEN; |
} |
69,9 → 66,6 |
//write_ndigit_number_s(3, bottom_line - 1, ampere, 1000, 0); |
write_ndigit_number_u_10th(3, bottom_line - 1, ampere / 10, 100, 0); |
write_ndigit_number_s(10, bottom_line - 1, ampere_wasted / 10, 1000, 0); |
if (COSD_FLAGS & COSD_FLAG_STROMVOLT) { |
write_ndigit_number_u_10th(17, bottom_line - 1, s_volt, 100, 0); |
} |
} |
|
draw_battery(2, bottom_line, min_voltage, debugData.Analog[9], max_voltage); |