Skip to content

Commit 1f9c578

Browse files
committed
Misc
1 parent 56a495e commit 1f9c578

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ static void listFiles(const char *const dirname) {
8585
* Switch from USB MSC to application mode (file system).
8686
*/
8787
static void switchToApplicationMode() {
88-
FFat.end(); // invalidate cache
8988
MSC.mediaPresent(false);
89+
FFat.end(); // invalidate cache
9090
FFat.begin(); // update data
9191
}
9292

0 commit comments

Comments
 (0)