From f686ed4b81e955f70a669e725f072afc618c9cd8 Mon Sep 17 00:00:00 2001 From: RCMast3r Date: Sat, 25 May 2024 19:52:04 +0000 Subject: [PATCH] deploy: 569330973eb670944b8dcbb79b4b088bf7778305 --- TorqueControllerMux_8cpp_source.html | 10 +++++----- classTorqueControllerMux.html | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/TorqueControllerMux_8cpp_source.html b/TorqueControllerMux_8cpp_source.html index 562345f98..0c084c08f 100644 --- a/TorqueControllerMux_8cpp_source.html +++ b/TorqueControllerMux_8cpp_source.html @@ -149,11 +149,11 @@
71 // Check if targeted controller is ready to be selected
72 bool controllerNotReadyPreventsModeChange = (controllerOutputs_[static_cast<int>(dialModeMap_[dashboardDialMode])].ready == false);
73
-
74 // if (!(speedPreventsModeChange || torqueDeltaPreventsModeChange || controllerNotReadyPreventsModeChange))
-
75 // {
-
76 muxMode_ = dialModeMap_[dashboardDialMode];
-
77 cur_dial_mode_ = dashboardDialMode;
-
78 // }
+
74 if (!(speedPreventsModeChange || torqueDeltaPreventsModeChange || controllerNotReadyPreventsModeChange))
+
75 {
+
76 muxMode_ = dialModeMap_[dashboardDialMode];
+
77 cur_dial_mode_ = dashboardDialMode;
+
78 }
79 }
80
81 // Check if the current controller is ready. If it has faulted, revert to safe mode
diff --git a/classTorqueControllerMux.html b/classTorqueControllerMux.html index 5931c4b7f..01d67f282 100644 --- a/classTorqueControllerMux.html +++ b/classTorqueControllerMux.html @@ -781,11 +781,11 @@

71 // Check if targeted controller is ready to be selected
72 bool controllerNotReadyPreventsModeChange = (controllerOutputs_[static_cast<int>(dialModeMap_[dashboardDialMode])].ready == false);
73
-
74 // if (!(speedPreventsModeChange || torqueDeltaPreventsModeChange || controllerNotReadyPreventsModeChange))
-
75 // {
-
76 muxMode_ = dialModeMap_[dashboardDialMode];
-
77 cur_dial_mode_ = dashboardDialMode;
-
78 // }
+
74 if (!(speedPreventsModeChange || torqueDeltaPreventsModeChange || controllerNotReadyPreventsModeChange))
+
75 {
+
76 muxMode_ = dialModeMap_[dashboardDialMode];
+
77 cur_dial_mode_ = dashboardDialMode;
+
78 }
79 }
80
81 // Check if the current controller is ready. If it has faulted, revert to safe mode