Arduino-FOC icon indicating copy to clipboard operation
Arduino-FOC copied to clipboard

[BUG] Monitor downsampling cannot be disabled

Open sylque opened this issue 1 year ago • 0 comments

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

sylque avatar Feb 06 '24 11:02 sylque