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 71e16f2 commit a778760cdf483afb0bf317e71a46526c2f0868c3
@Jookia Jookia authored on 22 Mar 2023
Showing 3 changed files
View
src/FlashErase.cpp
View
src/MyUSBMSD.cpp
View
src/main.cpp