Преглед изворни кода

🔧 Safety feature warnings

Scott Lahteine пре 3 година
родитељ
комит
bc567e7b49
1 измењених фајлова са 17 додато и 0 уклоњено
  1. 17
    0
      Marlin/src/inc/Warnings.cpp

+ 17
- 0
Marlin/src/inc/Warnings.cpp Прегледај датотеку

@@ -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…
Откажи
Сачувај