Explorar el Código

🔧 Safety feature warnings

Scott Lahteine hace 3 años
padre
commit
bc567e7b49
Se han modificado 1 ficheros con 17 adiciones y 0 borrados
  1. 17
    0
      Marlin/src/inc/Warnings.cpp

+ 17
- 0
Marlin/src/inc/Warnings.cpp Ver fichero

@@ -35,6 +35,23 @@
35 35
   #warning "WARNING! Disable MARLIN_DEV_MODE for the final build!"
36 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 55
 #if NONE(HAS_RESUME_CONTINUE, HOST_PROMPT_SUPPORT)
39 56
   #warning "Your Configuration provides no method to acquire user feedback!"
40 57
 #endif

Loading…
Cancelar
Guardar