Browse Source

Coolant Control sanity-checks

Scott Lahteine 3 years ago
parent
commit
cbf325a6b8
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      Marlin/src/inc/SanityCheck.h

+ 6
- 0
Marlin/src/inc/SanityCheck.h View File

@@ -3239,6 +3239,12 @@ static_assert(   _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
3239 3239
   #undef _PIN_CONFLICT
3240 3240
 #endif
3241 3241
 
3242
+#if ENABLED(COOLANT_MIST) && !PIN_EXISTS(COOLANT_MIST)
3243
+  #error "COOLANT_MIST requires COOLANT_MIST_PIN to be defined."
3244
+#elif ENABLED(COOLANT_FLOOD) && !PIN_EXISTS(COOLANT_FLOOD)
3245
+  #error "COOLANT_FLOOD requires COOLANT_FLOOD_PIN to be defined."
3246
+#endif
3247
+
3242 3248
 #if NONE(HAS_MARLINUI_U8GLIB, EXTENSIBLE_UI) && ENABLED(PRINT_PROGRESS_SHOW_DECIMALS)
3243 3249
   #error "PRINT_PROGRESS_SHOW_DECIMALS currently requires a Graphical LCD."
3244 3250
 #endif

Loading…
Cancel
Save