core icon indicating copy to clipboard operation
core copied to clipboard

Typo in settings.c

Open andrewmarles opened this issue 8 months ago • 1 comments

I think that on lines 2010 and lines 2023 that the bang should not be prefixed on the call to spindle_get_caps: https://github.com/grblHAL/core/blob/9a060d7ea0f01cab7444fee447741b010cb4cb3a/settings.c#L2010 https://github.com/grblHAL/core/blob/9a060d7ea0f01cab7444fee447741b010cb4cb3a/settings.c#L2023

I think they should be

available = hal.signals_cap.safety_door_ajar && spindle_get_count() && spindle_get_caps(true).at_speed;

Otherwise the spindles with speed feedback all return false on this check.

andrewmarles avatar Jun 21 '24 22:06 andrewmarles