Browse Source

Merge pull request #7212 from thinkyhead/bf_m48_real_probe

M48 needs a real probe
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
015839fc50
  1. 10
      Marlin/Marlin_main.cpp
  2. 6
      Marlin/SanityCheck.h

10
Marlin/Marlin_main.cpp

@ -906,12 +906,6 @@ void setup_killpin() {
#endif #endif
void setup_homepin(void) {
#if HAS_HOME
SET_INPUT_PULLUP(HOME_PIN);
#endif
}
void setup_powerhold() { void setup_powerhold() {
#if HAS_SUICIDE #if HAS_SUICIDE
OUT_WRITE(SUICIDE_PIN, HIGH); OUT_WRITE(SUICIDE_PIN, HIGH);
@ -13008,7 +13002,9 @@ void setup() {
OUT_WRITE(SOL1_PIN, LOW); // turn it off OUT_WRITE(SOL1_PIN, LOW); // turn it off
#endif #endif
setup_homepin(); #if HAS_HOME
SET_INPUT_PULLUP(HOME_PIN);
#endif
#if PIN_EXISTS(STAT_LED_RED) #if PIN_EXISTS(STAT_LED_RED)
OUT_WRITE(STAT_LED_RED_PIN, LOW); // turn it off OUT_WRITE(STAT_LED_RED_PIN, LOW); // turn it off

6
Marlin/SanityCheck.h

@ -599,12 +599,14 @@ static_assert(1 >= 0
#else #else
#error "Auto Bed Leveling requires one of these: PROBE_MANUALLY, FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or a Z Servo." #error "Auto Bed Leveling requires one of these: PROBE_MANUALLY, FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or a Z Servo."
#endif #endif
#elif ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
#error "Z_MIN_PROBE_REPEATABILITY_TEST requires a probe: FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or Z Servo."
#endif #endif
#endif #endif
#if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST) && !HAS_BED_PROBE
#error "Z_MIN_PROBE_REPEATABILITY_TEST requires a probe: FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or Z Servo."
#endif
/** /**
* Allow only one bed leveling option to be defined * Allow only one bed leveling option to be defined
*/ */

Loading…
Cancel
Save