Fix M226 sign warning (for most platforms) (#14049)
This commit is contained in:
parent
256f810df2
commit
87e7193259
@ -45,7 +45,7 @@ void GcodeSuite::M226() {
|
|||||||
case 0: target = LOW; break;
|
case 0: target = LOW; break;
|
||||||
case -1: target = !extDigitalRead(pin); 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
|
} // pin_state -1 0 1 && pin > -1
|
||||||
} // parser.seen('P')
|
} // parser.seen('P')
|
||||||
|
Loading…
Reference in New Issue
Block a user