Subversion Repositories Projects

Rev

Rev 1437 | Rev 1773 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1437 Rev 1593
Line 356... Line 356...
356
    write_ascii_string_pgm(1, ++line,     PSTR("min Volt:")); // min voltage
356
    write_ascii_string_pgm(1, ++line,     PSTR("min Volt:")); // min voltage
357
    write_ndigit_number_u_10th(13, line, min_UBat, 3, 0);
357
    write_ndigit_number_u_10th(13, line, min_UBat, 3, 0);
358
    write_char_xy(17, line, 0x9E); // small V
358
    write_char_xy(17, line, 0x9E); // small V
359
    if ((COSD_FLAGS_RUNTIME & COSD_FLAG_STROMREC) || (COSD_FLAGS_MODES & COSD_FLAG_FCCURRENT)) {
359
    if ((COSD_FLAGS_RUNTIME & COSD_FLAG_STROMREC) || (COSD_FLAGS_MODES & COSD_FLAG_FCCURRENT)) {
360
        write_ascii_string_pgm(1, ++line, PSTR("max curr:")); // ampere
360
        write_ascii_string_pgm(1, ++line, PSTR("max curr:")); // ampere
361
        write_ndigit_number_u_10th(16, line, max_ampere / 10, 3, 0);
361
        write_ndigit_number_u_10th(13, line, max_ampere / 10, 3, 0);
362
        write_char_xy(17, line, 0x9F); // small A
362
        write_char_xy(17, line, 0x9F); // small A
363
 
363
 
364
        // wasted mampere in this flight (will count up after landing)
364
        // wasted mampere in this flight (will count up after landing)
365
        if ((COSD_FLAGS_RUNTIME & COSD_FLAG_STROMREC) && !(COSD_FLAGS_MODES & COSD_FLAG_FCCURRENT)) {
365
        if ((COSD_FLAGS_RUNTIME & COSD_FLAG_STROMREC) && !(COSD_FLAGS_MODES & COSD_FLAG_FCCURRENT)) {
366
            write_ndigit_number_u(18, line, (ampere_wasted / 10) - wasted_ampere_offset, 5, 0);
366
            write_ndigit_number_u(18, line, (ampere_wasted / 10) - wasted_ampere_offset, 5, 0);