Merge pull request #368 from henols/dev

Probing command gets stuck in hold if several g38.2 are submitted
pull/1/head
Sonny Jeon 2014-03-07 14:07:43 -07:00
commit 2168bb1cf9
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -279,6 +279,7 @@ void mc_probe_cycle(float *target, float feed_rate, uint8_t invert_feed_rate, in
void mc_probe_cycle(float *target, float feed_rate, uint8_t invert_feed_rate)
#endif
{
if (sys.state != STATE_CYCLE) protocol_auto_cycle_start();
protocol_buffer_synchronize(); // Finish all queued commands
if (sys.abort) { return; } // Return if system reset has been issued.