Endstop and temp-isr general cleanup

This commit is contained in:
Scott Lahteine
2017-03-06 01:43:08 -06:00
parent aef08e8780
commit fea0d3f20f
2 changed files with 16 additions and 14 deletions

View File

@ -451,7 +451,7 @@ void Stepper::isr() {
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
if (ENDSTOPS_ENABLED && e_hit) {
if (e_hit && ENDSTOPS_ENABLED) {
endstops.update();
e_hit--;
}