Browse Source

Fix extrude_min_temp compiler warning

Scott Lahteine 8 years ago
parent
commit
dde8bb7c8b
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/temperature.cpp
  2. 1
    1
      Marlin/temperature.h

+ 1
- 1
Marlin/temperature.cpp View File

113
 
113
 
114
 #if ENABLED(PREVENT_COLD_EXTRUSION)
114
 #if ENABLED(PREVENT_COLD_EXTRUSION)
115
   bool Temperature::allow_cold_extrude = false;
115
   bool Temperature::allow_cold_extrude = false;
116
-  uint16_t Temperature::extrude_min_temp = EXTRUDE_MINTEMP;
116
+  int16_t Temperature::extrude_min_temp = EXTRUDE_MINTEMP;
117
 #endif
117
 #endif
118
 
118
 
119
 // private:
119
 // private:

+ 1
- 1
Marlin/temperature.h View File

172
 
172
 
173
     #if ENABLED(PREVENT_COLD_EXTRUSION)
173
     #if ENABLED(PREVENT_COLD_EXTRUSION)
174
       static bool allow_cold_extrude;
174
       static bool allow_cold_extrude;
175
-      static uint16_t extrude_min_temp;
175
+      static int16_t extrude_min_temp;
176
       static bool tooColdToExtrude(uint8_t e) {
176
       static bool tooColdToExtrude(uint8_t e) {
177
         #if HOTENDS == 1
177
         #if HOTENDS == 1
178
           UNUSED(e);
178
           UNUSED(e);

Loading…
Cancel
Save