Skip to content

Problem: Spindle Speed Override #1735

Description

@innerspacepilot

Thanks for the great software.

This is a pure code issue, so I am using blank issue template.
If I set Min in SpindleSpeedOverride in Config.h everything is working fine, except when I decrease Spindle override below 0 it becomes SpindleSpeedOverride::Max.

Here is my fix, maybe you could write it better:
FluidNC/src/Protocol.cpp:1072
percent = (int(sys.spindle_speed_ovr()) + increment < 0)? 0 : sys.spindle_speed_ovr() + increment;

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions