Fix a compile warning, etc. (#12955)

This commit is contained in:
Ludy
2019-01-20 01:47:29 +01:00
committed by Scott Lahteine
parent 424aa05cc2
commit acf266fe78
6 changed files with 9 additions and 12 deletions

View File

@ -48,7 +48,7 @@ void GcodeSuite::M106() {
if (p < MIN(EXTRUDERS, FAN_COUNT)) {
#if ENABLED(EXTRA_FAN_SPEED)
const int16_t t = parser.intval('T');
const uint16_t t = parser.intval('T');
if (t > 0) return thermalManager.set_temp_fan_speed(p, t);
#endif