Merge pull request #5184 from AnHardt/endstop_interrupts
Introduce endstop interrupts
This commit is contained in:
commit
832fe284b4
26 changed files with 329 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue