-
I was trying to get BLTOUCH_HS_MODE to work on my previous build by uncommenting the HS_MODE enable line, but ran into an error when building in VSCode with Auto Build Marlin. The errors are pointing to this line: Copy-paste the relevant terminal output: I tried looking around for other lines referencing BLTOUCH_HS_MODE in config and config_adv, but no luck. What should I try next? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Narrowed it down to this if statement in SanityCheck.h #if ENABLED(BLTOUCH_HS_MODE) && BLTOUCH_HS_MODE == 0 What am I missing with this function? if BLTOUCH_HS_MODE is enabled AND it equals zero, throw an error? What's wrong with the format that the && isn't picking up on BLTOUCH_HS_MODE == 0? EDIT: #define BLTOUCH_HS_MODE true |
Beta Was this translation helpful? Give feedback.
Narrowed it down to this if statement in SanityCheck.h
#if ENABLED(BLTOUCH_HS_MODE) && BLTOUCH_HS_MODE == 0
#error "BLTOUCH_HS_MODE must now be defined as true or false, indicating the default state."
#endif
What am I missing with this function? if BLTOUCH_HS_MODE is enabled AND it equals zero, throw an error? What's wrong with the format that the && isn't picking up on BLTOUCH_HS_MODE == 0?
EDIT:
As @adam3654 mentioned below, ensure the BLTOUCH_HS_MODE has a true following it.
#define BLTOUCH_HS_MODE true