1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

Add some saves (related to #5137)

This commit is contained in:
Kilrah 2017-11-08 13:57:56 +01:00
parent 36789bff3f
commit 1ef1109b5f
3 changed files with 6 additions and 0 deletions

View file

@ -195,9 +195,11 @@ void onLimitsMenu(const char *result)
}
else if (result == STR_COPY_STICKS_TO_OFS) {
copySticksToOffset(s_currIdx);
storageDirty(EE_MODEL);
}
else if (result == STR_COPY_TRIMS_TO_OFS) {
copyTrimsToOffset(s_currIdx);
storageDirty(EE_MODEL);
}
else if (result == STR_EDIT) {
pushMenu(menuModelLimitsOne);

View file

@ -82,9 +82,11 @@ void onLimitsMenu(const char *result)
}
else if (result == STR_COPY_STICKS_TO_OFS) {
copySticksToOffset(ch);
storageDirty(EE_MODEL);
}
else if (result == STR_COPY_TRIMS_TO_OFS) {
copyTrimsToOffset(ch);
storageDirty(EE_MODEL);
}
}

View file

@ -76,9 +76,11 @@ void onLimitsMenu(const char *result)
}
else if (result == STR_COPY_STICKS_TO_OFS) {
copySticksToOffset(ch);
storageDirty(EE_MODEL);
}
else if (result == STR_COPY_TRIMS_TO_OFS) {
copyTrimsToOffset(ch);
storageDirty(EE_MODEL);
}
}