1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Assisted Tramming requires a probe (#18912)

This commit is contained in:
Keith Bennett 2020-08-03 20:39:29 -07:00 committed by GitHub
parent ca0ebf10d1
commit 5823ebb446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -769,7 +769,7 @@
#endif
//
// Add the G35 command to read bed corners to help adjust screws.
// Add the G35 command to read bed corners to help adjust screws. Requires a bed probe.
//
//#define ASSISTED_TRAMMING
#if ENABLED(ASSISTED_TRAMMING)

View File

@ -2072,6 +2072,13 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
#endif
#endif
/**
* G35 Assisted Tramming
*/
#if ENABLED(ASSISTED_TRAMMING) && !HAS_BED_PROBE
#error "ASSISTED_TRAMMING requires a bed probe."
#endif
/**
* G38 Probe Target
*/