Merge pull request #4463 from thinkyhead/rc_azteeg_x3_eeb

Wrangle RAMPS variants and derivatives
This commit is contained in:
Scott Lahteine
2016-07-31 18:22:49 -07:00
committed by GitHub
16 changed files with 148 additions and 128 deletions

View File

@ -939,7 +939,7 @@ void setup() {
dac_init();
#endif
#if ENABLED(Z_PROBE_SLED)
#if ENABLED(Z_PROBE_SLED) && PIN_EXISTS(SLED)
pinMode(SLED_PIN, OUTPUT);
digitalWrite(SLED_PIN, LOW); // turn it off
#endif // Z_PROBE_SLED
@ -1856,8 +1856,10 @@ static void clean_up_after_endstop_or_probe_move() {
// Dock sled a bit closer to ensure proper capturing
do_blocking_move_to_x(X_MAX_POS + SLED_DOCKING_OFFSET - ((stow) ? 1 : 0));
digitalWrite(SLED_PIN, !stow); // switch solenoid
#if PIN_EXISTS(SLED)
digitalWrite(SLED_PIN, !stow); // switch solenoid
#endif
}
#endif // Z_PROBE_SLED