Fix compile warning comparison uint and int (#12788)

2.0.x
Ludy 6 years ago committed by Scott Lahteine
parent 60cb36bef3
commit 14a7faf087

@ -51,7 +51,7 @@ void GcodeSuite::M106() {
if (p < MIN(EXTRUDERS, FAN_COUNT)) { if (p < MIN(EXTRUDERS, FAN_COUNT)) {
uint16_t s = parser.ushortval('S', 255); uint16_t s = parser.ushortval('S', 255);
NOMORE(s, 255); NOMORE(s, 255U);
uint8_t np = p; uint8_t np = p;

Loading…
Cancel
Save