mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Sanity check homing bumps
This commit is contained in:
parent
a9a21db39f
commit
0951bffcc0
@ -9104,7 +9104,7 @@ void stop() {
|
|||||||
*/
|
*/
|
||||||
void setup() {
|
void setup() {
|
||||||
|
|
||||||
#if ENABLED(DISABLE_JTAG)
|
#ifdef DISABLE_JTAG
|
||||||
// Disable JTAG on AT90USB chips to free up pins for IO
|
// Disable JTAG on AT90USB chips to free up pins for IO
|
||||||
MCUCR = 0x80;
|
MCUCR = 0x80;
|
||||||
MCUCR = 0x80;
|
MCUCR = 0x80;
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
#error "You are using an old Configuration_adv.h file, update it before building Marlin."
|
#error "You are using an old Configuration_adv.h file, update it before building Marlin."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Warnings for old configurations
|
* Warnings for old configurations
|
||||||
*/
|
*/
|
||||||
#if WATCH_TEMP_PERIOD > 500
|
#if WATCH_TEMP_PERIOD > 500
|
||||||
@ -450,6 +450,13 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Homing Bump
|
||||||
|
*/
|
||||||
|
#if X_HOME_BUMP_MM < 0 || Y_HOME_BUMP_MM < 0 || Z_HOME_BUMP_MM < 0
|
||||||
|
#error "[XYZ]_HOME_BUMP_MM must be greater than or equal to 0."
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Make sure Z_SAFE_HOMING point is reachable
|
* Make sure Z_SAFE_HOMING point is reachable
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user