Merge pull request #5184 from AnHardt/endstop_interrupts

Introduce endstop interrupts
This commit is contained in:
Scott Lahteine
2016-11-18 20:50:24 -06:00
committed by GitHub
26 changed files with 329 additions and 1 deletions

View File

@@ -89,6 +89,9 @@
#include "twibus.h"
#endif
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
#include "endstop_interrupts.h"
#endif
/**
* Look here for descriptions of G-codes:
* - http://linuxcnc.org/handbook/gcode/g-code.html
@@ -10015,6 +10018,10 @@ void setup() {
i2c.onReceive(i2c_on_receive);
i2c.onRequest(i2c_on_request);
#endif
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
setup_enstop_interrupts();
#endif
}
/**