Fixed spindle/coolant/dwell state check.
This commit is contained in:
parent
532c359a11
commit
9439e43975
4 changed files with 4 additions and 4 deletions
|
|
@ -57,7 +57,7 @@ void spindle_stop()
|
|||
|
||||
void spindle_run(uint8_t direction, float rpm)
|
||||
{
|
||||
if (sys.state != STATE_CHECK_MODE) { return; }
|
||||
if (sys.state == STATE_CHECK_MODE) { return; }
|
||||
|
||||
// Empty planner buffer to ensure spindle is set when programmed.
|
||||
protocol_buffer_synchronize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue