Merge pull request #4066 from thinkyhead/rc_M851_with_probe

Make M851 standard with a bed probe
This commit is contained in:
Scott Lahteine
2016-06-17 17:32:55 -07:00
committed by GitHub
42 changed files with 155 additions and 366 deletions

View File

@ -681,7 +681,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
#endif
// @section movement
// @section motion
/**
* MOVEMENT SETTINGS
@ -713,18 +713,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
//============================= Additional Features ===========================
//=============================================================================
// @section more
// Custom M code points
#define CUSTOM_M_CODES
#if ENABLED(CUSTOM_M_CODES)
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
#define Z_PROBE_OFFSET_RANGE_MIN -20
#define Z_PROBE_OFFSET_RANGE_MAX 20
#endif
#endif
// @section extras
//

View File

@ -417,9 +417,10 @@
//#define USE_SMALL_INFOFONT
#endif // DOGLCD
// @section more
// @section safety
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
// The hardware watchdog should reset the microcontroller disabling all outputs,
// in case the firmware gets stuck and doesn't do temperature regulation.
#define USE_WATCHDOG
#if ENABLED(USE_WATCHDOG)
@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
#define BLOCK_BUFFER_SIZE 16 // maximize block buffer
#endif
// @section more
// @section serial
//The ASCII buffer for receiving from the serial:
// The ASCII buffer for serial input
#define MAX_CMD_SIZE 96
#define BUFSIZE 4