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

Only a constant instead of a number

This commit is contained in:
bsongis 2012-01-20 18:13:49 +00:00
parent c7c9edc2dc
commit 0418cb318f

View file

@ -373,7 +373,7 @@ void menuProcTrainer(uint8_t event)
y = 2*FH;
blink = (s_editMode>0) ? BLINK : INVERS ;
for (uint8_t i=0; i<4; i++) {
for (uint8_t i=0; i<NUM_STICKS; i++) {
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];