This commit is contained in:
Anders Sandstrom
2022-01-21 08:20:22 +01:00
parent 2917bdfeb5
commit 9c97d44b02

View File

@@ -371,7 +371,7 @@ void ecmc_grbl_main_rt_thread()
{
//printf("%s:%s:%d\n",__FILE__,__FUNCTION__,__LINE__);
if (busy) { return; } // The busy-flag is used to avoid reentering this interrupt
if (busy || !stepperInterruptEnable) { return; } // The busy-flag is used to avoid reentering this interrupt
// Set the direction pins a couple of nanoseconds before we step the steppers
//DIRECTION_PORT = (DIRECTION_PORT & ~DIRECTION_MASK) | (st.dir_outbits & DIRECTION_MASK);