From a776cee2f2677f21786631e15953560a35ebe54c Mon Sep 17 00:00:00 2001 From: K1llf0rce Date: Sun, 26 Dec 2021 15:26:22 +0100 Subject: [PATCH] fix pin definitions again --- Marlin/Configuration.h | 7 ++++++- Marlin/Configuration_adv.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 92595e5ea8d6..82d6492e724b 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -142,6 +142,11 @@ // Enable the Bluetooth serial interface on AT90USB devices //#define BLUETOOTH +// Choose the name from boards.h that matches your setup +#ifndef MOTHERBOARD + #define MOTHERBOARD BOARD_TRIGORILLA_14 +#endif + // Name displayed in the LCD "Ready" message and Info menu //#define CUSTOM_MACHINE_NAME "3D Printer" @@ -2616,7 +2621,7 @@ // // Touch-screen LCD for Anycubic printers // -#define ANYCUBIC_LCD_I3MEGA +//#define ANYCUBIC_LCD_I3MEGA //#define ANYCUBIC_LCD_CHIRON #if EITHER(ANYCUBIC_LCD_I3MEGA, ANYCUBIC_LCD_CHIRON) #define LCD_SERIAL_PORT 3 // Default is 3 for Anycubic diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 9f7544a0f91c..900ca174f0a6 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -508,7 +508,7 @@ */ #define USE_CONTROLLER_FAN #if ENABLED(USE_CONTROLLER_FAN) - #define CONTROLLER_FAN_PIN TG_FAN1_PIN // Set a custom pin for the controller fan + #define CONTROLLER_FAN_PIN FAN1_PIN // Set a custom pin for the controller fan //#define CONTROLLER_FAN_USE_Z_ONLY // With this option only the Z axis is considered //#define CONTROLLER_FAN_IGNORE_Z // Ignore Z stepper. Useful when stepper timeout is disabled. #define CONTROLLERFAN_SPEED_MIN 0 // (0-255) Minimum speed. (If set below this value the fan is turned off.)