Followup for BABYSTEP_HOTEND_Z_OFFSET (#11916)

This commit is contained in:
Scott Lahteine
2018-09-24 21:46:56 -04:00
committed by GitHub
parent 884ad75cb8
commit cee34f7290
65 changed files with 291 additions and 118 deletions

View File

@ -495,12 +495,12 @@ void MarlinSettings::postprocess() {
for (uint8_t q = mesh_num_x * mesh_num_y; q--;) EEPROM_WRITE(dummy);
#endif // MESH_BED_LEVELING
_FIELD_TEST(zprobe_zoffset);
#if !HAS_BED_PROBE
const float zprobe_zoffset = 0;
#endif
_FIELD_TEST(zprobe_zoffset);
EEPROM_WRITE(zprobe_zoffset);
EEPROM_WRITE(zprobe_zoffset);
//
// Planar Bed Leveling matrix
@ -1181,12 +1181,12 @@ void MarlinSettings::postprocess() {
for (uint16_t q = mesh_num_x * mesh_num_y; q--;) EEPROM_READ(dummy);
#endif // MESH_BED_LEVELING
_FIELD_TEST(zprobe_zoffset);
#if !HAS_BED_PROBE
float zprobe_zoffset;
#endif
_FIELD_TEST(zprobe_zoffset);
EEPROM_READ(zprobe_zoffset);
EEPROM_READ(zprobe_zoffset);
//
// Planar Bed Leveling matrix