Cleanup of old includes, add comments

2.0.x
Scott Lahteine 5 years ago
parent a5f72330fb
commit e8ed4329ea

@ -819,7 +819,7 @@
// probing on a screwhead or hollow washer, probe near the edges. // probing on a screwhead or hollow washer, probe near the edges.
//#define CALIBRATION_MEASURE_AT_TOP_EDGES //#define CALIBRATION_MEASURE_AT_TOP_EDGES
// Define pin which is read during calibration // Define the pin to read during calibration
#ifndef CALIBRATION_PIN #ifndef CALIBRATION_PIN
#define CALIBRATION_PIN -1 // Override in pins.h or set to -1 to use your Z endstop #define CALIBRATION_PIN -1 // Override in pins.h or set to -1 to use your Z endstop
#define CALIBRATION_PIN_INVERTING false // Set to true to invert the pin #define CALIBRATION_PIN_INVERTING false // Set to true to invert the pin

@ -20,12 +20,14 @@
* *
*/ */
#include "../../inc/MarlinConfig.h" #include "../../inc/MarlinConfigPre.h"
#if HAS_RESUME_CONTINUE #if HAS_RESUME_CONTINUE
#include "../gcode.h" #include "../gcode.h"
#include "../../module/stepper.h" #include "../../module/planner.h"
#include "../../inc/MarlinConfig.h"
#if HAS_LCD_MENU #if HAS_LCD_MENU
#include "../../lcd/ultralcd.h" #include "../../lcd/ultralcd.h"
@ -35,8 +37,6 @@
#include "../../lcd/extensible_ui/ui_api.h" #include "../../lcd/extensible_ui/ui_api.h"
#endif #endif
#include "../../sd/cardreader.h"
#if HAS_LEDS_OFF_FLAG #if HAS_LEDS_OFF_FLAG
#include "../../feature/leds/printer_event_leds.h" #include "../../feature/leds/printer_event_leds.h"
#endif #endif

@ -38,7 +38,7 @@
#error "You must set ([XYZ]|E0)_DRIVER_TYPE to TMC2130 in Configuration.h for EinsyRetro." #error "You must set ([XYZ]|E0)_DRIVER_TYPE to TMC2130 in Configuration.h for EinsyRetro."
#endif #endif
// TMC2130 Diag Pins (currently just for reference) // TMC2130 Diag Pins
#define X_DIAG_PIN 64 #define X_DIAG_PIN 64
#define Y_DIAG_PIN 69 #define Y_DIAG_PIN 69
#define Z_DIAG_PIN 68 #define Z_DIAG_PIN 68
@ -55,27 +55,27 @@
#if DISABLED(SENSORLESS_HOMING) #if DISABLED(SENSORLESS_HOMING)
#define X_MIN_PIN 12 #define X_MIN_PIN 12 // X-
#define Y_MIN_PIN 11 #define Y_MIN_PIN 11 // Y-
#define Z_MIN_PIN 10 #define Z_MIN_PIN 10 // Z-
#define X_MAX_PIN 81 #define X_MAX_PIN 81 // X+
#define Y_MAX_PIN 57 #define Y_MAX_PIN 57 // Y+
#else #else
#if X_HOME_DIR < 0 #if X_HOME_DIR < 0
#define X_MIN_PIN X_DIAG_PIN #define X_MIN_PIN X_DIAG_PIN
#define X_MAX_PIN 81 #define X_MAX_PIN 81 // X+
#else #else
#define X_MIN_PIN 12 #define X_MIN_PIN 12 // X-
#define X_MAX_PIN X_DIAG_PIN #define X_MAX_PIN X_DIAG_PIN
#endif #endif
#if Y_HOME_DIR < 0 #if Y_HOME_DIR < 0
#define Y_MIN_PIN Y_DIAG_PIN #define Y_MIN_PIN Y_DIAG_PIN
#define Y_MAX_PIN 57 #define Y_MAX_PIN 57 // Y+
#else #else
#define Y_MIN_PIN 11 #define Y_MIN_PIN 11 // Y-
#define Y_MAX_PIN Y_DIAG_PIN #define Y_MAX_PIN Y_DIAG_PIN
#endif #endif

Loading…
Cancel
Save