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

@ -45,7 +45,7 @@ void coolant_stop()
void coolant_run(uint8_t mode)
{
if (sys.state != STATE_CHECK_MODE) { return; }
if (sys.state == STATE_CHECK_MODE) { return; }
protocol_buffer_synchronize(); // Ensure coolant turns on when specified in program.
if (mode == COOLANT_FLOOD_ENABLE) {