Skip to content
Snippets Groups Projects
Commit 87e71932 authored by Tanguy Pruvot's avatar Tanguy Pruvot Committed by Scott Lahteine
Browse files

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

parent 256f810d
Branches
Tags
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment