Browse Source

🔧 Safety feature warnings

Scott Lahteine 3 years ago
parent
commit
bc567e7b49
1 changed files with 17 additions and 0 deletions
  1. 17
    0
      Marlin/src/inc/Warnings.cpp

+ 17
- 0
Marlin/src/inc/Warnings.cpp View File

35
   #warning "WARNING! Disable MARLIN_DEV_MODE for the final build!"
35
   #warning "WARNING! Disable MARLIN_DEV_MODE for the final build!"
36
 #endif
36
 #endif
37
 
37
 
38
+// Safety Features
39
+#if DISABLED(USE_WATCHDOG)
40
+  #warning "Safety Alert! Enable USE_WATCHDOG for the final build!"
41
+#endif
42
+#if HAS_HOTEND && DISABLED(THERMAL_PROTECTION_HOTENDS)
43
+  #warning "Safety Alert! Enable THERMAL_PROTECTION_HOTENDS for the final build!"
44
+#endif
45
+#if HAS_HEATED_BED && DISABLED(THERMAL_PROTECTION_BED)
46
+  #warning "Safety Alert! Enable THERMAL_PROTECTION_BED for the final build!"
47
+#endif
48
+#if HAS_HEATED_CHAMBER && DISABLED(THERMAL_PROTECTION_CHAMBER)
49
+  #warning "Safety Alert! Enable THERMAL_PROTECTION_CHAMBER for the final build!"
50
+#endif
51
+#if HAS_COOLER && DISABLED(THERMAL_PROTECTION_COOLER)
52
+  #warning "Safety Alert! Enable THERMAL_PROTECTION_COOLER for the final build!"
53
+#endif
54
+
38
 #if NONE(HAS_RESUME_CONTINUE, HOST_PROMPT_SUPPORT)
55
 #if NONE(HAS_RESUME_CONTINUE, HOST_PROMPT_SUPPORT)
39
   #warning "Your Configuration provides no method to acquire user feedback!"
56
   #warning "Your Configuration provides no method to acquire user feedback!"
40
 #endif
57
 #endif

Loading…
Cancel
Save