From 840d9cb3153be2fb5bb0c7e4a143713abff6ed44 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 30 Jan 2023 23:10:02 -0600 Subject: [PATCH] cleanup --- Marlin/Configuration_adv.h | 4 ++-- Marlin/src/inc/Warnings.cpp | 2 +- Marlin/src/module/motion.cpp | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 14d1f1bf2ebbe..71f46bfe8a793 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -472,10 +472,10 @@ * Thermistors able to support high temperature tend to have a hard time getting * good readings at room and lower temperatures. This means TEMP_SENSOR_X_RAW_LO_TEMP * will probably be caught when the heating element first turns on during the - * preheating process, which will trigger a mintemp_error as a safety measure + * preheating process, which will trigger a MINTEMP error as a safety measure * and force stop everything. * To circumvent this limitation, we allow for a preheat time (during which, - * mintemp_error won't be triggered) and add a min_temp buffer to handle + * MINTEMP error won't be triggered) and add a min_temp buffer to handle * aberrant readings. * * If you want to enable this feature for your hotend thermistor(s) diff --git a/Marlin/src/inc/Warnings.cpp b/Marlin/src/inc/Warnings.cpp index e8da61949862d..1d1426936f956 100644 --- a/Marlin/src/inc/Warnings.cpp +++ b/Marlin/src/inc/Warnings.cpp @@ -59,7 +59,7 @@ #if HAS_COOLER && DISABLED(THERMAL_PROTECTION_COOLER) #warning "Safety Alert! Enable THERMAL_PROTECTION_COOLER for the final build!" #endif -#if DISABLED(POLARGRAPH) && (ANY_THERMISTOR_IS(998) || ANY_THERMISTOR_IS(999)) +#if ANY_THERMISTOR_IS(998) || ANY_THERMISTOR_IS(999) #warning "Warning! Don't use dummy thermistors (998/999) for final build!" #endif diff --git a/Marlin/src/module/motion.cpp b/Marlin/src/module/motion.cpp index 8d9436a771d18..7c90ae7159861 100644 --- a/Marlin/src/module/motion.cpp +++ b/Marlin/src/module/motion.cpp @@ -926,7 +926,8 @@ void restore_feedrate_and_scaling() { #if BOTH(HAS_HOTEND_OFFSET, DELTA) // The effector center position will be the target minus the hotend offset. const xy_pos_t offs = hotend_offset[active_extruder]; - #elif DISABLED(POLARGRAPH) + #elif ENABLED(POLARGRAPH) + // POLARGRAPH uses draw_area_* below... #elif ENABLED(POLAR) // For now, we don't limit POLAR #else