Merge pull request #5184 from AnHardt/endstop_interrupts
Introduce endstop interrupts
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user