Use uint8_t for all fan speeds (#12032)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-10-07 15:34:41 -05:00
1 parent cb7844c8d4
commit d6b0fbd771
25 files changed
+88 -91

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ void GcodeSuite::M145() {
}
if (parser.seenval('F')) {
v = parser.value_int();
lcd_preheat_fan_speed[material] = constrain(v, 0, 255);
lcd_preheat_fan_speed[material] = (uint8_t)constrain(v, 0, 255);
}
#if TEMP_SENSOR_BED != 0
if (parser.seenval('B')) {