Skip to content

Commit 5b591ab

Browse files
donsandeepmistry
authored andcommitted
toLowerCase on input so both 'y' and 'Y' start the lock process
1 parent bf0a900 commit 5b591ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/Tools/ECCX08CSR/ECCX08CSR.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ void setup() {
4747

4848
if (!ECCX08.locked()) {
4949
String lock = promptAndReadLine("The ECCX08 on your board is not locked, would you like to PERMANENTLY configure and lock it now? (y/N)", "N");
50+
lock.toLowerCase();
5051

5152
if (!lock.startsWith("y")) {
5253
Serial.println("Unfortunately you can't proceed without locking it :(");

0 commit comments

Comments
 (0)