mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
CopyTrimsToOffset function added - #1323
This commit is contained in:
parent
b1f44d7101
commit
6908509d79
15 changed files with 43 additions and 3 deletions
|
@ -3853,6 +3853,9 @@ void onLimitsMenu(const char *result)
|
|||
else if (result == STR_COPY_STICKS_TO_OFS) {
|
||||
copySticksToOffset(ch);
|
||||
}
|
||||
else if (result == STR_COPY_TRIMS_TO_OFS) {
|
||||
copyTrimsToOffset(ch);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -3929,6 +3932,7 @@ void menuModelLimits(uint8_t event)
|
|||
if (sub==k && m_posHorz < 0 && event==EVT_KEY_LONG(KEY_ENTER)) {
|
||||
killEvents(event);
|
||||
MENU_ADD_ITEM(STR_RESET);
|
||||
MENU_ADD_ITEM(STR_COPY_TRIMS_TO_OFS);
|
||||
MENU_ADD_ITEM(STR_COPY_STICKS_TO_OFS);
|
||||
menuHandler = onLimitsMenu;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue