From dde8bb7c8b0c90d3c6b4bef6977ce4bf7af97308 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 10 Jun 2017 18:29:17 -0500 Subject: [PATCH] Fix extrude_min_temp compiler warning --- Marlin/temperature.cpp | 2 +- Marlin/temperature.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index 911e7b6942..f62e5a94db 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -113,7 +113,7 @@ int16_t Temperature::current_temperature_raw[HOTENDS] = { 0 }, #if ENABLED(PREVENT_COLD_EXTRUSION) bool Temperature::allow_cold_extrude = false; - uint16_t Temperature::extrude_min_temp = EXTRUDE_MINTEMP; + int16_t Temperature::extrude_min_temp = EXTRUDE_MINTEMP; #endif // private: diff --git a/Marlin/temperature.h b/Marlin/temperature.h index 0e0556f942..18717dea21 100644 --- a/Marlin/temperature.h +++ b/Marlin/temperature.h @@ -172,7 +172,7 @@ class Temperature { #if ENABLED(PREVENT_COLD_EXTRUSION) static bool allow_cold_extrude; - static uint16_t extrude_min_temp; + static int16_t extrude_min_temp; static bool tooColdToExtrude(uint8_t e) { #if HOTENDS == 1 UNUSED(e);