"nozzle_to_probe_offset" is obsolete

This commit is contained in:
Scott Lahteine
2019-11-13 02:53:11 -06:00
parent 602ca5dea6
commit 3f4636e916
3 changed files with 10 additions and 16 deletions

View File

@ -2344,9 +2344,6 @@ void MarlinSettings::reset() {
#endif
#if HAS_BED_PROBE
#ifndef NOZZLE_TO_PROBE_OFFSET
#define NOZZLE_TO_PROBE_OFFSET { 0, 0, 0 }
#endif
constexpr float dpo[XYZ] = NOZZLE_TO_PROBE_OFFSET;
static_assert(COUNT(dpo) == 3, "NOZZLE_TO_PROBE_OFFSET must contain offsets for X, Y, and Z.");
LOOP_XYZ(a) probe_offset[a] = dpo[a];

View File

@ -29,8 +29,6 @@
#if HAS_BED_PROBE
constexpr xyz_pos_t nozzle_to_probe_offset = NOZZLE_TO_PROBE_OFFSET;
extern xyz_pos_t probe_offset;
bool set_probe_deployed(const bool deploy);