Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 467 → Rev 468

/C-OSD/trunk/osd_ncmode_default.c/osd_ncmode_default.c
30,6 → 30,7
write_char_xy(7, bottom_line, 0x9E); // small V
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
}
write_char_xy(14, bottom_line, 0xD1); // on clock
write_char_xy(21, bottom_line, 0xD2); // fly clock
99,7 → 100,7
} else {
// stats
if ((COSD_FLAGS & COSD_WASFLYING) && (COSD_FLAGS & COSD_FLAG_STATS)) {
uint8_t line = 4;
uint8_t line = 3;
write_ascii_string_pgm(2, line, stats_item_pointers[0]); // max Altitude
write_ndigit_number_s(18, line, max_Altimeter / 30, 1000, 0);
write_char_xy(22, line, 204); // small meters m
115,7 → 116,6
if (COSD_FLAGS2 & COSD_FLAG_STROMREC) {
write_ascii_string_pgm(2, ++line, stats_item_pointers[7]); // ampere
write_ndigit_number_u_10th(18, line, max_ampere / 10, 100, 0);
write_char_xy(22, line, 0x9F); // small v
}
write_ascii_string_pgm(2, ++line, stats_item_pointers[4]); // max time
write_time(16, line, max_FlyingTime);
136,6 → 136,7
if (COSD_FLAGS2 & COSD_FLAG_STROMREC) {
//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, 1000, 0);
}
 
// bottom line