Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
bdring committed Oct 16, 2023
1 parent 10c9199 commit 8d9d952
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions FluidNC/src/Machine/Axes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ namespace Machine {

_sharedStepperDisable.synchronousWrite(disable);

if (!disable) { // wait for the enable delay
if (!disable && config->_stepping->_disableDelayUsecs) { // wait for the enable delay
log_debug("enable delay:" << config->_stepping->_disableDelayUsecs);
delay_us(config->_stepping->_disableDelayUsecs);
}
}
}

// Put the motors in the given axes into homing mode, returning a
Expand Down
2 changes: 1 addition & 1 deletion FluidNC/src/Stepping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ namespace Machine {
handler.item("idle_ms", _idleMsecs, 0, 10000000); // full range
handler.item("pulse_us", _pulseUsecs, 0, 30);
handler.item("dir_delay_us", _directionDelayUsecs, 0, 10);
handler.item("disable_delay_us", _disableDelayUsecs, 0, 10);
handler.item("disable_delay_us", _disableDelayUsecs, 0, 1000000); // max 1 second
handler.item("segments", _segments, 6, 20);
}

Expand Down

0 comments on commit 8d9d952

Please sign in to comment.