We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea75ad commit 65b8cedCopy full SHA for 65b8ced
Marlin/src/feature/bltouch.h
@@ -26,6 +26,7 @@
26
// BLTouch commands are sent as servo angles
27
typedef unsigned char BLTCommand;
28
29
+#define DEPLOY_ALARM true
30
#define STOW_ALARM true
31
#define BLTOUCH_DEPLOY 10
32
#define BLTOUCH_STOW 90
@@ -104,7 +105,7 @@ class BLTouch {
104
105
static bool triggered();
106
107
private:
- static bool _deploy_query_alarm() { return command(BLTOUCH_DEPLOY, BLTOUCH_DEPLOY_DELAY); }
108
+ static bool _deploy_query_alarm() { return command(BLTOUCH_DEPLOY, BLTOUCH_DEPLOY_DELAY) == DEPLOY_ALARM; }
109
static bool _stow_query_alarm() { return command(BLTOUCH_STOW, BLTOUCH_STOW_DELAY) == STOW_ALARM; }
110
111
static void clear();
0 commit comments