Rev 499 | Rev 519 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 499 | Rev 507 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | write_char_xy(27, top_line + 1, 0xCC); // small meters m home |
38 | write_char_xy(27, top_line + 1, 0xCC); // small meters m home |
39 | write_char_xy(7, bottom_line, 0x9E); // small V |
39 | write_char_xy(7, bottom_line, 0x9E); // small V |
40 | if (COSD_FLAGS2 & COSD_FLAG_STROMREC) { |
40 | if (COSD_FLAGS2 & COSD_FLAG_STROMREC) { |
41 | write_char_xy(7, bottom_line - 1, 0x9F); // small A |
41 | write_char_xy(7, bottom_line - 1, 0x9F); // small A |
42 | write_char_xy(14, bottom_line - 1, 0xB5); // mah |
42 | write_char_xy(14, bottom_line - 1, 0xB5); // mah |
- | 43 | if (COSD_FLAGS & COSD_FLAG_STROMVOLT) { |
|
- | 44 | write_char_xy(21, bottom_line - 1, 0x9E); // small V |
|
- | 45 | } |
|
43 | } |
46 | } |
44 | write_char_xy(14, bottom_line, 0xD1); // on clock |
47 | write_char_xy(14, bottom_line, 0xD1); // on clock |
45 | write_char_xy(21, bottom_line, 0xD2); // fly clock |
48 | write_char_xy(21, bottom_line, 0xD2); // fly clock |
46 | write_char_xy(26, bottom_line, 0xC8); // sat1 |
49 | write_char_xy(26, bottom_line, 0xC8); // sat1 |
47 | write_char_xy(27, bottom_line, 0xC9); // sat2 |
50 | write_char_xy(27, bottom_line, 0xC9); // sat2 |
Line 153... | Line 156... | ||
153 | // pre-bottom line |
156 | // pre-bottom line |
154 | if (COSD_FLAGS2 & COSD_FLAG_STROMREC) { |
157 | if (COSD_FLAGS2 & COSD_FLAG_STROMREC) { |
155 | //write_ndigit_number_s(3, bottom_line - 1, ampere, 1000, 0); |
158 | //write_ndigit_number_s(3, bottom_line - 1, ampere, 1000, 0); |
156 | write_ndigit_number_u_10th(3, bottom_line - 1, ampere / 10, 100, 0); |
159 | write_ndigit_number_u_10th(3, bottom_line - 1, ampere / 10, 100, 0); |
157 | write_ndigit_number_s(10, bottom_line - 1, ampere_wasted / 10, 1000, 0); |
160 | write_ndigit_number_s(10, bottom_line - 1, ampere_wasted / 10, 1000, 0); |
- | 161 | if (COSD_FLAGS & COSD_FLAG_STROMVOLT) { |
|
- | 162 | write_ndigit_number_u_10th(17, bottom_line - 1, s_volt, 100, 0); |
|
- | 163 | } |
|
158 | } |
164 | } |
Line 159... | Line 165... | ||
159 | 165 | ||
160 | // bottom line |
166 | // bottom line |
161 | draw_battery(2, bottom_line, min_voltage, naviData.UBat, max_voltage); |
167 | draw_battery(2, bottom_line, min_voltage, naviData.UBat, max_voltage); |