From 5beedf6173ee0cbde5f1fdbf5c4677a73ea53fa7 Mon Sep 17 00:00:00 2001 From: BarbourSmith Date: Fri, 4 May 2018 15:35:06 -0700 Subject: [PATCH] Save settings before reloading when switching chain direction --- cnc_ctrl_v1/Settings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cnc_ctrl_v1/Settings.cpp b/cnc_ctrl_v1/Settings.cpp index 3d92a4e7..23e17d40 100644 --- a/cnc_ctrl_v1/Settings.cpp +++ b/cnc_ctrl_v1/Settings.cpp @@ -382,6 +382,7 @@ byte settingsStoreGlobalSetting(const byte& parameter,const float& value){ sysSettings.chainSagCorrection = value; break; case 38: + settingsSaveStepstoEEprom(); sysSettings.chainOverSprocket = value; setupAxes(); settingsLoadStepsFromEEprom();