Rev 1437 | Rev 1771 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1437 | Rev 1706 | ||
---|---|---|---|
Line 222... | Line 222... | ||
222 | 222 | ||
223 | // pre-bottom line |
223 | // pre-bottom line |
224 | if ((COSD_FLAGS_RUNTIME & COSD_FLAG_STROMREC) && !(COSD_FLAGS_MODES & COSD_FLAG_FCCURRENT)) { |
224 | if ((COSD_FLAGS_RUNTIME & COSD_FLAG_STROMREC) && !(COSD_FLAGS_MODES & COSD_FLAG_FCCURRENT)) { |
225 | //write_ndigit_number_s(3, bottom_line - 1, ampere, 4, 0); |
225 | //write_ndigit_number_s(3, bottom_line - 1, ampere, 4, 0); |
226 | write_ndigit_number_u_10th(2, bottom_line - 1, ampere / 10, 4, 0); |
226 | write_ndigit_number_u_10th(2, bottom_line - 1, ampere / 10, 4, 0); |
227 | write_ndigit_number_s(10, bottom_line - 1, ampere_wasted / 10, 4, 0); |
- | |
228 | 227 | write_ndigit_number_s(9, bottom_line - 1, ampere_wasted / 10, 5, 0); |
|
229 | } else if (COSD_FLAGS_MODES & COSD_FLAG_FCCURRENT) { |
228 | } else if (COSD_FLAGS_MODES & COSD_FLAG_FCCURRENT) { |
230 | write_ndigit_number_u_10th(2, bottom_line - 1, naviData.Current, 4, 0); |
229 | write_ndigit_number_u_10th(2, bottom_line - 1, naviData.Current, 4, 0); |
231 | write_ndigit_number_u(10, bottom_line - 1, naviData.UsedCapacity, 4, 0); |
230 | write_ndigit_number_u(9, bottom_line - 1, naviData.UsedCapacity, 5, 0); |
232 | } |
231 | } |
233 | if ((COSD_FLAGS_RUNTIME & COSD_FLAG_STROMREC) && COSD_FLAGS_MODES & COSD_FLAG_STROMVOLT) { |
232 | if ((COSD_FLAGS_RUNTIME & COSD_FLAG_STROMREC) && COSD_FLAGS_MODES & COSD_FLAG_STROMVOLT) { |
234 | write_ndigit_number_u_10th(17, bottom_line - 1, s_volt, 3, 0); |
233 | write_ndigit_number_u_10th(17, bottom_line - 1, s_volt, 3, 0); |
235 | } |
234 | } |