Bed Distance Sensor (#24554)

This commit is contained in:
Mark
2022-08-06 14:14:58 +08:00
committed by GitHub
parent 1dc17aa64c
commit 83320f1052
25 changed files with 410 additions and 9 deletions

View File

@@ -166,6 +166,11 @@ class Endstops {
*/
static void update();
#if ENABLED(BD_SENSOR)
static bool bdp_state;
static void bdp_state_update(const bool z_state) { bdp_state = z_state; }
#endif
/**
* Get Endstop hit state.
*/