1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Fix extrude_min_temp compiler warning

This commit is contained in:
Scott Lahteine 2017-06-10 18:29:17 -05:00
parent 83263076dc
commit dde8bb7c8b
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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);