Browse Source

Fix compile warning comparison uint and int (#12788)

Ludy 6 years ago
parent
commit
14a7faf087
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/temperature/M106_M107.cpp

+ 1
- 1
Marlin/src/gcode/temperature/M106_M107.cpp View File

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

Loading…
Cancel
Save