Browse Source

Fix compile warning comparison uint and int (#12788)

pull/1/head
Ludy 6 years ago
committed by Scott Lahteine
parent
commit
14a7faf087
  1. 2
      Marlin/src/gcode/temperature/M106_M107.cpp

2
Marlin/src/gcode/temperature/M106_M107.cpp

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