mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-13 08:55:39 -04:00
SD card backup storage (#565)
* Got SD card mounting during boot * Cleaned up comments * Now loads settings from SD as backup * Now loads settings from SD as backup * linting * refactoring
This commit is contained in:
parent
b02329019c
commit
5d9a2e560b
2 changed files with 59 additions and 8 deletions
|
@ -167,7 +167,7 @@ int main(void) {
|
|||
if( portapack::init() ) {
|
||||
portapack::display.init();
|
||||
|
||||
sdcStart(&SDCD1, nullptr);
|
||||
// sdcStart(&SDCD1, nullptr); // Commented out as now happens in portapack.cpp
|
||||
|
||||
// controls_init(); // Commented out as now happens in portapack.cpp
|
||||
lcd_frame_sync_configure();
|
||||
|
@ -175,6 +175,7 @@ int main(void) {
|
|||
|
||||
event_loop();
|
||||
|
||||
|
||||
sdcDisconnect(&SDCD1);
|
||||
sdcStop(&SDCD1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue