Skip to content

Commit 992858a

Browse files
committed
Remove x scanning for string settings.
This allows SSIDs and PWs to start with the letter 'x'.
1 parent cb10715 commit 992858a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Firmware/RTK_Surveyor/support.ino

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ double getDouble(int numberOfSeconds)
233233

234234
//Reads a line until the \n enter character is found
235235
//Returns STATUS_GETBYTE_TIMEOUT if input times out
236-
//Returns STATUS_PRESSED_X if user presses 'x'
237236
byte readLine(char* buffer, byte bufferLength, int numberOfSeconds)
238237
{
239238
byte readLength = 0;
@@ -291,10 +290,6 @@ byte readLine(char* buffer, byte bufferLength, int numberOfSeconds)
291290
buffer[readLength] = '\0';
292291
break;
293292
}
294-
else if (readLength == 0 && incoming == 'x')
295-
{
296-
return (STATUS_PRESSED_X);
297-
}
298293
else
299294
{
300295
buffer[readLength] = incoming;

0 commit comments

Comments
 (0)