mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
[MEGA2560/GRUVIN9X] Overflow in Custom Functions switch (no ON and One)
This commit is contained in:
parent
4c0515ab91
commit
01cd86f6f6
20 changed files with 58 additions and 149 deletions
|
@ -665,7 +665,7 @@ void putsMixerSource(coord_t x, coord_t y, uint8_t idx, LcdFlags att)
|
|||
if (idx < MIXSRC_THR)
|
||||
lcd_putsiAtt(x, y, STR_VSRCRAW, idx, att);
|
||||
else if (idx < MIXSRC_SW1)
|
||||
putsSwitches(x, y, idx-MIXSRC_THR+1+3*(1/*+EXTRA_3POS*/), att);
|
||||
putsSwitches(x, y, idx-MIXSRC_THR+1+3*(1), att);
|
||||
else if (idx <= MIXSRC_LAST_LOGICAL_SWITCH)
|
||||
putsSwitches(x, y, SWSRC_SW1+idx-MIXSRC_SW1, att);
|
||||
else if (idx < MIXSRC_CH1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue