1,5 → 1,5 |
/**************************************************************************** |
* Copyright (C) 2009 by Claas Anders "CaScAdE" Rathje * |
* Copyright (C) 2009-2010 by Claas Anders "CaScAdE" Rathje * |
* admiralcascade@gmail.com * |
* Project-URL: http://www.mylifesucks.de/oss/c-osd/ * |
* * |
61,7 → 61,8 |
const char menu_item2[] PROGMEM = "Art.Horizon in HUD"; |
const char menu_item3[] PROGMEM = "Big Vario bar"; |
const char menu_item4[] PROGMEM = "Statistics"; |
const char menu_item5[] PROGMEM = "Warnings"; // TODO: do it! |
//const char menu_item5[] PROGMEM = "Warnings"; // TODO: do it! |
const char menu_item5[] PROGMEM = "Current by FC"; |
const char menu_item6[] PROGMEM = "Voltage by C-Strom"; |
const char menu_item7[] PROGMEM = "Reset uptime"; |
const char menu_item8[] PROGMEM = "Display Mode"; |
242,10 → 243,15 |
} else { |
write_ascii_string_pgm(23, 6, OFF); |
} |
if (COSD_FLAGS_MODES & COSD_FLAG_WARNINGS) { |
/*if (COSD_FLAGS_MODES & COSD_FLAG_WARNINGS) { |
write_ascii_string_pgm(23, 7, ON); |
} else { |
write_ascii_string_pgm(23, 7, OFF); |
}*/ |
if (COSD_FLAGS_MODES & COSD_FLAG_FCCURRENT) { |
write_ascii_string_pgm(23, 7, ON); |
} else { |
write_ascii_string_pgm(23, 7, OFF); |
} |
if (COSD_FLAGS_MODES & COSD_FLAG_STROMVOLT) { |
write_ascii_string_pgm(23, 8, ON); |
343,11 → 349,15 |
COSD_FLAGS_MODES ^= COSD_FLAG_STATS; |
config_menu_drawings(chosen); |
break; |
case 5: // warnings |
/*case 5: // warnings |
COSD_FLAGS_MODES ^= COSD_FLAG_WARNINGS; |
config_menu_drawings(chosen); |
break;*/ |
case 5: // current by fc |
COSD_FLAGS_MODES ^= COSD_FLAG_FCCURRENT; |
config_menu_drawings(chosen); |
break; |
case 6: // 2nd voltage by c-strom |
case 6: // 2nd voltage by c-strom |
COSD_FLAGS_MODES ^= COSD_FLAG_STROMVOLT; |
config_menu_drawings(chosen); |
break; |