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
   #undef _PIN_CONFLICT
3239
   #undef _PIN_CONFLICT
3240
 #endif
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
 #if NONE(HAS_MARLINUI_U8GLIB, EXTENSIBLE_UI) && ENABLED(PRINT_PROGRESS_SHOW_DECIMALS)
3248
 #if NONE(HAS_MARLINUI_U8GLIB, EXTENSIBLE_UI) && ENABLED(PRINT_PROGRESS_SHOW_DECIMALS)
3243
   #error "PRINT_PROGRESS_SHOW_DECIMALS currently requires a Graphical LCD."
3249
   #error "PRINT_PROGRESS_SHOW_DECIMALS currently requires a Graphical LCD."
3244
 #endif
3250
 #endif

Loading…
Cancel
Save