diff --git a/src/js/tabs/pid_tuning.js b/src/js/tabs/pid_tuning.js index bcd6d09c..c8ac1c3c 100644 --- a/src/js/tabs/pid_tuning.js +++ b/src/js/tabs/pid_tuning.js @@ -431,6 +431,8 @@ TABS.pid_tuning.initialize = function (callback) { self.changeRatesType(self.currentRatesType); // update rate type code when updating the tab } else { + self.currentRatesType = null; + self.previousRatesType = null; $('.rates_type').hide(); }