We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 782e719 commit c2c4365Copy full SHA for c2c4365
src/common/base_classes/FOCMotor.cpp
@@ -91,7 +91,7 @@ void FOCMotor::useMonitoring(Print &print){
91
// utility function intended to be used with serial plotter to monitor motor variables
92
// significantly slowing the execution down!!!!
93
void FOCMotor::monitor() {
94
- if( !monitor_downsample || monitor_cnt++ < monitor_downsample ) return;
+ if( monitor_cnt++ < monitor_downsample ) return;
95
monitor_cnt = 0;
96
if(!monitor_port) return;
97
bool printed = 0;
0 commit comments