Subversion Repositories Projects

Rev

Rev 474 | Rev 497 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 474 Rev 489
Line 58... Line 58...
58
            write_char_xy(11, top_line, 0xC6); // PC icon
58
            write_char_xy(11, top_line, 0xC6); // PC icon
59
        }
59
        }
60
 
60
 
61
        write_ndigit_number_u(13, top_line, naviData.CompassHeading, 100, 0);
61
        write_ndigit_number_u(13, top_line, naviData.CompassHeading, 100, 0);
62
 
62
 
63
        write_ascii_string(17, top_line, directions[heading_conv(naviData.CompassHeading)]);
63
        write_ascii_string_pgm(17, top_line, (const char *) (pgm_read_word ( &(directions[heading_conv(naviData.CompassHeading)]))));
64
 
64
 
65
        draw_variometer(21, top_line, naviData.Variometer);
65
        draw_variometer(21, top_line, naviData.Variometer);
66
 
66
 
67
        //note:lephisto:according to several sources it's /30
67
        //note:lephisto:according to several sources it's /30
68
        if (naviData.Altimeter > 300 || naviData.Altimeter < -300) {
68
        if (naviData.Altimeter > 300 || naviData.Altimeter < -300) {
Line 117... Line 117...
117
                write_ascii_string_pgm(2, ++line, stats_item_pointers[3]); // min voltage
117
                write_ascii_string_pgm(2, ++line, stats_item_pointers[3]); // min voltage
118
                write_ndigit_number_u_10th(18, line, min_UBat, 100, 0);
118
                write_ndigit_number_u_10th(18, line, min_UBat, 100, 0);
119
                write_char_xy(22, line, 0x9E); // small V
119
                write_char_xy(22, line, 0x9E); // small V
120
                        if (COSD_FLAGS2 & COSD_FLAG_STROMREC) {
120
                        if (COSD_FLAGS2 & COSD_FLAG_STROMREC) {
121
                                write_ascii_string_pgm(2, ++line, stats_item_pointers[7]); // ampere
121
                                write_ascii_string_pgm(2, ++line, stats_item_pointers[7]); // ampere
122
                                write_ndigit_number_u_10th(18, line, max_ampere / 10, 100, 0);
122
                                write_ndigit_number_u_10th(18, line, max_ampere / 10, 100, 0);
123
                                write_char_xy(22, line, 0x9F); // small A
123
                                write_char_xy(22, line, 0x9F); // small A
124
                        }
124
                        }
125
                write_ascii_string_pgm(2, ++line, stats_item_pointers[4]); // max time
125
                write_ascii_string_pgm(2, ++line, stats_item_pointers[4]); // max time
126
                write_time(16, line, max_FlyingTime);
126
                write_time(16, line, max_FlyingTime);
127
                write_char_xy(22, line, 210); // fly clock
127
                write_char_xy(22, line, 210); // fly clock