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 29... | Line 29... | ||
29 | int osd_fcmode_default() { |
29 | int osd_fcmode_default() { |
30 | static signed int rc_quality = 0; |
30 | static signed int rc_quality = 0; |
31 | #ifndef ACT_RSSI_FROM_LCD |
31 | #ifndef ACT_RSSI_FROM_LCD |
32 | rc_quality = debugData.Analog[10]; |
32 | rc_quality = debugData.Analog[10]; |
33 | #endif |
33 | #endif |
34 | - | ||
35 | if (COSD_FLAGS_MODES & COSD_FLAG_HUD) { |
34 | if (!(COSD_FLAGS_MODES & COSD_FLAG_HUD)) { |
- | 35 | clear(); |
|
- | 36 | } else { |
|
36 | // write icons at init or after menu/mode-switch |
37 | // write icons at init or after menu/mode-switch |
37 | if (!(COSD_FLAGS_RUNTIME & COSD_ICONS_WRITTEN)) { |
38 | if (!(COSD_FLAGS_RUNTIME & COSD_ICONS_WRITTEN)) { |
38 | write_char_xy(10, top_line, 0xCA); // RC-transmitter |
39 | write_char_xy(10, top_line, 0xCA); // RC-transmitter |
39 | write_char_xy(27, top_line, 0xCC); // small meters m height |
40 | write_char_xy(27, top_line, 0xCC); // small meters m height |
40 | write_char_xy(7, bottom_line, 0x9E); // small v |
41 | write_char_xy(7, bottom_line, 0x9E); // small v |