Subversion Repositories Projects

Rev

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

Rev 1437 Rev 1771
Line 31... Line 31...
31
// jopl Vario
31
// jopl Vario
32
static int16_t last_Altimeter = 0;
32
static int16_t last_Altimeter = 0;
33
static int16_t Vario = 0;
33
static int16_t Vario = 0;
34
 
34
 
35
int osd_fcmode_jopl() {
35
int osd_fcmode_jopl() {
36
    if (COSD_FLAGS_MODES & COSD_FLAG_HUD) {
36
        if (!(COSD_FLAGS_MODES & COSD_FLAG_HUD)) {
-
 
37
                clear();
-
 
38
    } else {
37
        // write icons at init or after menu/mode-switch
39
        // write icons at init or after menu/mode-switch
38
        if (!(COSD_FLAGS_RUNTIME & COSD_ICONS_WRITTEN)) {
40
        if (!(COSD_FLAGS_RUNTIME & COSD_ICONS_WRITTEN)) {
39
            write_char_xy(10, top_line, 0xCA); // RC-transmitter
41
            write_char_xy(10, top_line, 0xCA); // RC-transmitter
40
 
42
 
41
            // jopl ... compass
43
            // jopl ... compass