Fixed spindle/coolant/dwell state check.
This commit is contained in:
@ -214,7 +214,7 @@ void mc_arc(float *position, float *target, float *offset, float radius, float f
|
||||
// Execute dwell in seconds.
|
||||
void mc_dwell(float seconds)
|
||||
{
|
||||
if (sys.state != STATE_CHECK_MODE) { return; }
|
||||
if (sys.state == STATE_CHECK_MODE) { return; }
|
||||
|
||||
uint16_t i = floor(1000/DWELL_TIME_STEP*seconds);
|
||||
protocol_buffer_synchronize();
|
||||
|
Reference in New Issue
Block a user