Skip to content

Commit

Permalink
Reinitialise Mass Storage Device after createSecrets
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Oct 25, 2024
1 parent e469b10 commit 9f718cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/provisioning/tinyusb/Wippersnapper_FS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ void Wippersnapper_FS::createSecretsFile() {
secretsFile.flush();
secretsFile.close();
delay(2500);
initUSBMSC(); // re-init USB MSC to show new file to user for editing

// Signal to user that action must be taken (edit secrets.json)
writeToBootOut(
Expand Down

0 comments on commit 9f718cf

Please sign in to comment.