main: Handle mounting and unmounting for erase and MSD
Having the functions handle the filesystem creates an dependency
on the filesystem layer when the functions don't even use it.

Instead, have main handle mounting and unmounting the filesystems.
1 parent 79fa59b commit 68352cf17f183f604b5f6ac5507c7127c4cb98fb
@Jookia Jookia authored on 22 Mar 2023
Showing 3 changed files
View
src/FlashErase.cpp
View
src/MyUSBMSD.cpp
View
src/main.cpp