File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -334,10 +334,6 @@ void Wippersnapper_FS::createSecretsFile() {
334
334
secretsFile.flush ();
335
335
secretsFile.close ();
336
336
337
- // Re-attach the USB device for file access
338
- delay (500 );
339
- initUSBMSC ();
340
-
341
337
writeToBootOut (
342
338
" ERROR: Please edit the secrets.json file. Then, reset your board.\n " );
343
339
#ifdef USE_DISPLAY
@@ -347,6 +343,9 @@ void Wippersnapper_FS::createSecretsFile() {
347
343
" 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
347
+ delay (500 );
348
+ initUSBMSC ();
350
349
fsHalt (" ERROR: Please edit the secrets.json file. Then, reset your board." );
351
350
}
352
351
You can’t perform that action at this time.
0 commit comments