Fixed spindle/coolant/dwell state check.

This commit is contained in:
Sonny Jeon
2014-05-29 15:41:53 -06:00
parent 532c359a11
commit 9439e43975
4 changed files with 4 additions and 4 deletions

View File

@ -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();