From b0eaf97c2e77a1dacf2b0fa1601437d5ecf9cd99 Mon Sep 17 00:00:00 2001 From: toxic-garden <46248397+toxic-garden@users.noreply.github.com> Date: Thu, 24 Dec 2020 20:17:50 +0100 Subject: [PATCH] Fix x5sapro filemant runout (#16) * fixed runout sensor for x5sapro * cleaning up stuff that i made for just my model * more personal stuff removed --- Marlin/Configuration.h | 10 +++++----- Marlin/Configuration_adv.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index a946d5198a69..bd1a9485a65f 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -56,7 +56,7 @@ // #define XY2_V5_220_TITAN_NO_TMC 1 // #define TFT_LVGL_UI -// #define TFT_CLASSIC_UI + // #define TFT_CLASSIC_UI // #define TFT_COLOR_UI #if V6_330_TITAN_TMC @@ -1570,9 +1570,9 @@ #if ENABLED(FILAMENT_RUNOUT_SENSOR) #define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500. #define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each. - #define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present. - #define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. - //#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins. + #define FIL_RUNOUT_STATE HIGH // Pin state indicating that filament is NOT present. + // #define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. + #define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins. // Set one or more commands to execute on filament runout. // (After 'M412 H' Marlin will ask the host to handle the process.) @@ -1939,7 +1939,7 @@ #if ENABLED(NOZZLE_PARK_FEATURE) // Specify a park position as { X, Y, Z_raise } - #define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 } + #define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MIN_POS + 10), 20 } //#define NOZZLE_PARK_X_ONLY // X move only is required to park //#define NOZZLE_PARK_Y_ONLY // Y move only is required to park #define NOZZLE_PARK_Z_RAISE_MIN 2 // (mm) Always raise Z by at least this distance diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 377e85e34585..03bbf42f2d18 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -2136,7 +2136,7 @@ #define FILAMENT_CHANGE_ALERT_BEEPS 10 // Number of alert beeps to play when a response is needed. #define PAUSE_PARK_NO_STEPPER_TIMEOUT // Enable for XYZ steppers to stay powered on during filament change. - //#define PARK_HEAD_ON_PAUSE // Park the nozzle during pause and filament change. + #define PARK_HEAD_ON_PAUSE // Park the nozzle during pause and filament change. //#define HOME_BEFORE_FILAMENT_CHANGE // If needed, home before parking for filament change //#define FILAMENT_LOAD_UNLOAD_GCODES // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu.