Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 836 → Rev 837

/C-OSD/trunk/osd_helpers.c
182,6 → 182,7
write_string_pgm_down(x, y - 2, (const char *)(pgm_read_word(&(vario_pnt[index]))), 5);
}
 
 
/* ##########################################################################
* NEW artificial horizon By AGRESSiVA --=-- COPTERTRONiC
* ##########################################################################*/
315,5 → 316,20
old_af_y = nicky;
}
 
/**
* draw scope of a second camera
*/
void draw_scope() {
/*
write_char_xy(scope[0], scope[1], 0xEC);
write_char_xy(scope[2], scope[3], 0xED);
write_char_xy(scope[4], scope[5], 0xEE);
write_char_xy(scope[6], scope[7], 0xEF);
*/
// save 20 byte :)
for (int i = 0; i < 4; i++) {
write_char_xy(scope[i * 2], scope[(i * 2) + 1], 0xEC + i);
}
}
 
#endif