[2.0.x] Fix Anycubic Kossel with Probe V1, stuck LCD message after stow (#11929)

This commit is contained in:
Hannes Brandstätter-Müller 2018-09-27 19:23:53 +02:00 committed by Scott Lahteine
parent dc11131656
commit 0b602ae101
2 changed files with 3 additions and 7 deletions

View File

@ -668,15 +668,11 @@
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. #define Z_MIN_ENDSTOP_INVERTING (ANYCUBIC_PROBE_VERSION + 0 == 2) // V1 is NC, V2 is NO
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#if ANYCUBIC_PROBE_VERSION == 1 #define Z_MIN_PROBE_ENDSTOP_INVERTING Z_MIN_ENDSTOP_INVERTING
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // V1 Probe is NC
#elif ANYCUBIC_PROBE_VERSION == 2
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // V2 Probe is NO
#endif
/** /**
* Stepper Drivers * Stepper Drivers

View File

@ -431,7 +431,7 @@ bool set_probe_deployed(const bool deploy) {
BUZZ(100, 698); BUZZ(100, 698);
const char * const ds_str = deploy ? PSTR(MSG_MANUAL_DEPLOY) : PSTR(MSG_MANUAL_STOW); const char * const ds_str = deploy ? PSTR(MSG_MANUAL_DEPLOY) : PSTR(MSG_MANUAL_STOW);
lcd_setalertstatusPGM(ds_str); lcd_setstatusPGM(ds_str);
serialprintPGM(ds_str); serialprintPGM(ds_str);
SERIAL_EOL(); SERIAL_EOL();