🔧 Allow BLTOUCH_HS_EXTRA_CLEARANCE == 0 (#25760)

This commit is contained in:
Davide Rombolà
2023-04-30 23:36:47 +02:00
committed by GitHub
parent ec6bc15d1b
commit 3b50b6aeb1

View File

@@ -1279,7 +1279,7 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
static_assert(!(strcmp(hs, "1") && strcmp(hs, "true") && strcmp(hs, "0") && strcmp(hs, "false")), \ static_assert(!(strcmp(hs, "1") && strcmp(hs, "true") && strcmp(hs, "0") && strcmp(hs, "false")), \
"BLTOUCH_HS_MODE must now be defined as true or false, indicating the default state."); "BLTOUCH_HS_MODE must now be defined as true or false, indicating the default state.");
#ifdef BLTOUCH_HS_EXTRA_CLEARANCE #ifdef BLTOUCH_HS_EXTRA_CLEARANCE
static_assert(BLTOUCH_HS_EXTRA_CLEARANCE > 0, "BLTOUCH_HS_MODE requires a positive BLTOUCH_HS_EXTRA_CLEARANCE."); static_assert(BLTOUCH_HS_EXTRA_CLEARANCE >= 0, "BLTOUCH_HS_MODE requires BLTOUCH_HS_EXTRA_CLEARANCE >= 0.");
#endif #endif
#endif #endif