Fix compile warning comparison uint and int (#12788)
This commit is contained in:
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…
Reference in a new issue