mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
AUTOSWITCH enabled with Stay function
This commit is contained in:
parent
8f0a318cc3
commit
2e35e095c6
1 changed files with 8 additions and 2 deletions
|
@ -4539,9 +4539,15 @@ void menuModelCustomSwitches(uint8_t event)
|
|||
v1_min = SWSRC_OFF+1; v1_max = SWSRC_ON-1;
|
||||
v2_min=-129; v2_max = 122;
|
||||
v3_max = 222 - cs->v2;
|
||||
if (horz == 1) {
|
||||
INCDEC_SET_FLAG(INCDEC_SWITCH);
|
||||
INCDEC_ENABLE_CHECK(isSwitchAvailable);
|
||||
}
|
||||
else {
|
||||
INCDEC_SET_FLAG(0);
|
||||
INCDEC_ENABLE_CHECK(NULL);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
else if (cstate == CS_FAMILY_COMP) {
|
||||
putsMixerSource(CSW_2ND_COLUMN, y, cs->v1, attr1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue