Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 326 → Rev 327

/C-OSD/trunk/main.c
809,7 → 809,7
clear();
char* menu[4] = {"Normal OSD ",
"+ Art.Horizon ",
"Art.Horizon ",
"NO OSD ",
"NO OSD but WRN "};
 
1450,11 → 1450,9
// center
if (naviData.MKFlags & FLAG_MOTOR_RUN) { // should be engines running
if (!(old_MKFlags & FLAG_MOTOR_RUN)) { // motors just started, clear middle
for (uint8_t x = 0; x < 30; x++) {
write_char_xy(x, 5, 0);
write_char_xy(x, 7, 0);
write_char_xy(x, 9, 0);
}
clear();
// update flags to paint display again if needed
COSD_FLAGS &= ~COSD_ICONS_WRITTEN;
}
if (COSD_FLAGS & COSD_FLAG_ARTHORIZON) {
draw_artificial_horizon(top_line + 2, bottom_line - 1, naviData.AngleNick, naviData.AngleRoll);