|
@@ -28,8 +28,13 @@
|
28
|
28
|
|
29
|
29
|
#include "pins_RAMPS.h"
|
30
|
30
|
|
31
|
|
-// The board only has one controllable fan connector, the others are just plain 12V connectors
|
32
|
|
-// in the default configuration, this is used to control the brightness of the LED band
|
33
|
|
-// hotend and controller fan are therefore always-on
|
34
|
|
-#define ENDER4_FAN_PIN RAMPS_D9_PIN
|
35
|
|
-#undef FAN_PIN
|
|
31
|
+// The board only has one PWM fan connector. The others are 12V always-on.
|
|
32
|
+// The default config uses this pin to control the brightness of the LED
|
|
33
|
+// band (case light). Thus the hotend and controller fans are always-on.
|
|
34
|
+
|
|
35
|
+#if ENABLED(CASE_LIGHT_ENABLE)
|
|
36
|
+ #undef FAN_PIN
|
|
37
|
+ #ifndef CASE_LIGHT_PIN
|
|
38
|
+ #define CASE_LIGHT_PIN RAMPS_D9_PIN
|
|
39
|
+ #endif
|
|
40
|
+#endif
|