1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +03:00

Huge ram saving (320bytes) + expos order change

This commit is contained in:
bsongis 2011-10-10 19:58:02 +00:00
parent f65942d83b
commit f131b0a016
6 changed files with 42 additions and 47 deletions

View file

@ -366,7 +366,7 @@ void menuProcTrainer(uint8_t event)
blink = s_editMode ? BLINK : INVERS ;
for (uint8_t i=0; i<4; i++) {
uint8_t chan = chout_ar[g_eeGeneral.templateSetup][i]; // G: Issue 30.
uint8_t chan = pgm_read_byte(chout_ar+g_eeGeneral.templateSetup*4+i); // G: Issue 30.
volatile TrainerMix *td = &g_eeGeneral.trainer.mix[chan-1];