Skip to content

Commit

Permalink
Cleanup of old includes, add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jan 30, 2020
1 parent a5f7233 commit e8ed432
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@
// probing on a screwhead or hollow washer, probe near the edges.
//#define CALIBRATION_MEASURE_AT_TOP_EDGES

// Define pin which is read during calibration
// Define the pin to read during calibration
#ifndef CALIBRATION_PIN
#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
Expand Down
8 changes: 4 additions & 4 deletions Marlin/src/gcode/lcd/M0_M1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
*
*/

#include "../../inc/MarlinConfig.h"
#include "../../inc/MarlinConfigPre.h"

#if HAS_RESUME_CONTINUE

#include "../gcode.h"
#include "../../module/stepper.h"
#include "../../module/planner.h"

#include "../../inc/MarlinConfig.h"

#if HAS_LCD_MENU
#include "../../lcd/ultralcd.h"
Expand All @@ -35,8 +37,6 @@
#include "../../lcd/extensible_ui/ui_api.h"
#endif

#include "../../sd/cardreader.h"

#if HAS_LEDS_OFF_FLAG
#include "../../feature/leds/printer_event_leds.h"
#endif
Expand Down
20 changes: 10 additions & 10 deletions Marlin/src/pins/rambo/pins_EINSY_RETRO.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#error "You must set ([XYZ]|E0)_DRIVER_TYPE to TMC2130 in Configuration.h for EinsyRetro."
#endif

// TMC2130 Diag Pins (currently just for reference)
// TMC2130 Diag Pins
#define X_DIAG_PIN 64
#define Y_DIAG_PIN 69
#define Z_DIAG_PIN 68
Expand All @@ -55,27 +55,27 @@

#if DISABLED(SENSORLESS_HOMING)

#define X_MIN_PIN 12
#define Y_MIN_PIN 11
#define Z_MIN_PIN 10
#define X_MAX_PIN 81
#define Y_MAX_PIN 57
#define X_MIN_PIN 12 // X-
#define Y_MIN_PIN 11 // Y-
#define Z_MIN_PIN 10 // Z-
#define X_MAX_PIN 81 // X+
#define Y_MAX_PIN 57 // Y+

#else

#if X_HOME_DIR < 0
#define X_MIN_PIN X_DIAG_PIN
#define X_MAX_PIN 81
#define X_MAX_PIN 81 // X+
#else
#define X_MIN_PIN 12
#define X_MIN_PIN 12 // X-
#define X_MAX_PIN X_DIAG_PIN
#endif

#if Y_HOME_DIR < 0
#define Y_MIN_PIN Y_DIAG_PIN
#define Y_MAX_PIN 57
#define Y_MAX_PIN 57 // Y+
#else
#define Y_MIN_PIN 11
#define Y_MIN_PIN 11 // Y-
#define Y_MAX_PIN Y_DIAG_PIN
#endif

Expand Down

0 comments on commit e8ed432

Please sign in to comment.