add probe_finalize to keep things DRY
this allows the PRB report to be valid when in "no errors" mode and the probe fails
This commit is contained in:
parent
5f1eece67d
commit
0beacbbb11
3 changed files with 10 additions and 3 deletions
2
probe.h
2
probe.h
|
|
@ -40,6 +40,8 @@ uint8_t probe_get_state(uint8_t mode);
|
|||
|
||||
uint8_t probe_errors_enabled(uint8_t mode);
|
||||
|
||||
void probe_finalize();
|
||||
|
||||
// Monitors probe pin state and records the system position when detected. Called by the
|
||||
// stepper ISR per ISR tick.
|
||||
void probe_state_monitor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue