Allow NO_WORKSPACE_OFFSETS with DELTA_AUTO_CALIBRATION

- On `DELTA` the `M665 H` option supplants `M206`
- On `DELTA` `NO_WORKSPACE_OFFSETS` only reverts `G92` behavior
- Spawn 4 conditionals based on `NO_WORKSPACE_OFFSETS`
- Optimize coordinate space conversion for `DELTA` workspace
- To keep EEPROM version, retain `home_offset[XYZ]`, just ignore XY
This commit is contained in:
Scott Lahteine
2017-04-14 21:41:21 -05:00
parent 40dfafbe89
commit 24882adfbf
6 changed files with 109 additions and 71 deletions

View File

@ -817,7 +817,7 @@ void kill_screen(const char* lcd_msg) {
*
*/
#if DISABLED(NO_WORKSPACE_OFFSETS) && DISABLED(DELTA)
#if HAS_M206_COMMAND
/**
* Set the home offset based on the current_position
*/
@ -1672,7 +1672,7 @@ void kill_screen(const char* lcd_msg) {
#endif
#if DISABLED(NO_WORKSPACE_OFFSETS) && DISABLED(DELTA)
#if HAS_M206_COMMAND
//
// Set Home Offsets
//