Fix M226 sign warning (for most platforms) (#14049)

2.0.x
Tanguy Pruvot 6 years ago committed by Scott Lahteine
parent 256f810df2
commit 87e7193259

@ -45,7 +45,7 @@ void GcodeSuite::M226() {
case 0: target = LOW; break;
case -1: target = !extDigitalRead(pin); break;
}
while (extDigitalRead(pin) != target) idle();
while (int(extDigitalRead(pin)) != target) idle();
}
} // pin_state -1 0 1 && pin > -1
} // parser.seen('P')

Loading…
Cancel
Save