180,7 → 180,6 |
write_string_pgm_down(x, y-2, (const char *) (pgm_read_word ( &(vario_pnt[index]))), 5); |
} |
|
#if (NEW_ARTHORIZON == 1) |
/* ########################################################################## |
* NEW artificial horizon By AGRESSiVA --=-- COPTERTRONiC |
* ##########################################################################*/ |
205,7 → 204,7 |
* calculate the rails of artificial horizon |
* receive <nick> and <roll> values |
*/ |
void draw_artificial_horizon(uint8_t firstline, uint8_t lastline, int16_t nick, int16_t roll) { |
void draw_agressiva_artificial_horizon(uint8_t firstline, uint8_t lastline, int16_t nick, int16_t roll) { |
static int8_t old_ticy = 1,old_ticx = 0; |
static int8_t old1 = 0,old2 = 0,old3 = 0,old4, old5 = 0, old6 = 0,old7 = 0,old8 = 0; |
int8_t ticy = 0, ticx = 0; |
245,7 → 244,6 |
old_ticx = ticx; |
} |
|
#else |
|
/* ########################################################################## |
* OLD artificial horizon |
309,6 → 307,5 |
old_af_y = nicky; |
} |
|
#endif |
|
#endif |