Fix Mega x fan not working

This commit is contained in:
Knutwurst
2021-03-05 21:25:32 +01:00
parent 6845a5164a
commit 56e81609d7
2 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,7 @@
* default. * default.
* *
*/ */
//#define KNUTWURST_BMG // DO NOT UNCOMMENT! USE PLATFORMIO TO BUILD THE FW FOR YOUR PRINTER! //#define KNUTWURST_BMG
/* /*
* This enables the BLTouch Support and also * This enables the BLTouch Support and also

View File

@@ -424,7 +424,7 @@
* the fan will turn on when any selected extruder is above the threshold. * the fan will turn on when any selected extruder is above the threshold.
*/ */
#if EITHER(KNUTWURST_MEGA, KNUTWURST_MEGA_S) #if ANY(KNUTWURST_MEGA, KNUTWURST_MEGA_S, KNUTWURST_MEGA_X)
#define E0_AUTO_FAN_PIN FAN2_PIN #define E0_AUTO_FAN_PIN FAN2_PIN
#define E1_AUTO_FAN_PIN -1 #define E1_AUTO_FAN_PIN -1
#define E2_AUTO_FAN_PIN -1 #define E2_AUTO_FAN_PIN -1
@@ -434,7 +434,7 @@
#define CHAMBER_AUTO_FAN_PIN -1 #define CHAMBER_AUTO_FAN_PIN -1
#endif #endif
#if EITHER(KNUTWURST_MEGA_X, KNUTWURST_CHIRON) #if ENABLED(KNUTWURST_CHIRON) // this might need some rework
#define E0_AUTO_FAN_PIN -1 #define E0_AUTO_FAN_PIN -1
#define E1_AUTO_FAN_PIN -1 #define E1_AUTO_FAN_PIN -1
#define E2_AUTO_FAN_PIN -1 #define E2_AUTO_FAN_PIN -1