Output reset wasn't saved (Fix #4662)

Remove dead code
This commit is contained in:
Andre Bernet
2017-03-22 08:38:23 +01:00
parent b81c483be3
commit 12d231443c
3 changed files with 3 additions and 21 deletions
+1 -7
View File
@@ -82,6 +82,7 @@ void onLimitsMenu(const char *result)
ld->ppmCenter = 0;
ld->revert = false;
ld->curve = 0;
storageDirty(EE_MODEL);
}
else if (result == STR_COPY_STICKS_TO_OFS) {
copySticksToOffset(ch);
@@ -106,13 +107,6 @@ bool menuModelLimits(event_t event)
drawColumnHeader(STR_LIMITS_HEADERS, NULL, menuHorizontalPosition);
}
if (warningResult) {
warningResult = 0;
LimitData *ld = limitAddress(sub);
ld->revert = !ld->revert;
storageDirty(EE_MODEL);
}
for (int i=0; i<NUM_BODY_LINES; i++) {
coord_t y = MENU_CONTENT_TOP + i*FH;
uint8_t k = i+menuVerticalOffset;