Arduino-FOC
Arduino-FOC copied to clipboard
[BUG] Monitor downsampling cannot be disabled
Describe the bug
There seems to be no way to disable monitor downsampling. Setting monitor_downsample to zero disables monitoring altogether.
The reason lies here:
if( !monitor_downsample || monitor_cnt++ < monitor_downsample ) return;
This should be replaced by:
if(monitor_cnt++ < monitor_downsample ) return;
Describe the hardware setup ESP32 + SimpleFOCMini + AS4048A + miniatute gimbal motor
IDE you are using Platformio