mirror of
https://github.com/opentx/opentx.git
synced 2025-07-18 22:05:10 +03:00
Merge pull request #578 from opentx/bsongis/Issue552_checkbox_for_reset_custom_function
Issue #552 fixed
This commit is contained in:
commit
a9e8450578
13 changed files with 66 additions and 56 deletions
|
@ -4938,11 +4938,13 @@ void menuModelCustomFunctions(uint8_t event)
|
|||
break;
|
||||
|
||||
case 3:
|
||||
if (sd->swtch && (CFN_FUNC(sd) <= FUNC_INSTANT_TRIM
|
||||
if (sd->swtch && (CFN_FUNC(sd) <= FUNC_INSTANT_TRIM || CFN_FUNC(sd) == FUNC_RESET
|
||||
#if defined(GVARS)
|
||||
// TODO #define
|
||||
|| CFN_FUNC(sd) >= FUNC_ADJUST_GV1
|
||||
#endif
|
||||
#if defined(CPUARM)
|
||||
// TODO #define
|
||||
|| CFN_FUNC(sd) == FUNC_VOLUME
|
||||
#endif
|
||||
)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue