We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a3e822 commit 2409c85Copy full SHA for 2409c85
1 file changed
src/provisioning/tinyusb/Wippersnapper_FS.cpp
@@ -334,10 +334,6 @@ void Wippersnapper_FS::createSecretsFile() {
334
secretsFile.flush();
335
secretsFile.close();
336
337
- // Re-attach the USB device for file access
338
- delay(500);
339
- initUSBMSC();
340
-
341
writeToBootOut(
342
"ERROR: Please edit the secrets.json file. Then, reset your board.\n");
343
#ifdef USE_DISPLAY
@@ -347,6 +343,9 @@ void Wippersnapper_FS::createSecretsFile() {
347
"Please edit it to reflect your Adafruit IO and network credentials. "
348
344
"When you're done, press RESET on the board.");
349
345
#endif
346
+ // Re-attach the USB device for file access
+ delay(500);
+ initUSBMSC();
350
fsHalt("ERROR: Please edit the secrets.json file. Then, reset your board.");
351
}
352
0 commit comments