180,6 → 180,7 |
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 |
* ##########################################################################*/ |
204,7 → 205,7 |
* calculate the rails of artificial horizon |
* receive <nick> and <roll> values |
*/ |
void draw_agressiva_artificial_horizon(uint8_t firstline, uint8_t lastline, int16_t nick, int16_t roll) { |
void draw_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; |
244,6 → 245,7 |
old_ticx = ticx; |
} |
|
#else |
|
/* ########################################################################## |
* OLD artificial horizon |
307,5 → 309,6 |
old_af_y = nicky; |
} |
|
#endif |
|
#endif |