Commit 5f27bc4b authored by Chris Prince's avatar Chris Prince

startsWith requires double quotes instead of single quote

parent 254dd9dd
......@@ -78,7 +78,7 @@ void moveRequest(String req) {
const String valA = req.substring(paramQIdx + 1, paramAtIdx);
const String valB = req.substring(paramAtIdx+1);
if (valA.startsWith('x=') && valA.length < 6) {
if (valA.startsWith("x=") && valA.length() < 6) {
String tmpX = valA.substring(2);
String tmpY = valB.substring(2);
x = tmpX.toInt();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment