Fix compile warning comparison uint and int (#12788)

This commit is contained in:
Ludy 2019-01-02 01:20:12 +01:00 committed by Scott Lahteine
parent 60cb36bef3
commit 14a7faf087

View File

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