mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 02:07:55 +00:00
Playlist editor (#2506)
* make both exist * format * fix focusing issue * add example hopper payload * fix compiler err * clean up * correct linker script addr * lint * PoC * unknown: write_line issue * clean up * merge * fix read line * remove debug code * fix english * support new file * support enter delay * fix crash * remove debug code * some final tune
This commit is contained in:

committed by
GitHub

parent
7ad4ad99dd
commit
73f7f84718
@@ -50,6 +50,10 @@ Optional<File::Error> File::open_fatfs(const std::filesystem::path& filename, BY
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* @param read_only: open in readonly mode
|
||||
* @param create: create if it doesnt exist
|
||||
*/
|
||||
Optional<File::Error> File::open(const std::filesystem::path& filename, bool read_only, bool create) {
|
||||
BYTE mode = read_only ? FA_READ : FA_READ | FA_WRITE;
|
||||
if (create)
|
||||
|
Reference in New Issue
Block a user