mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 18:39:23 +00:00
Add sdcDisconnect() to avoid HackRF mode entry crash if SD card is connected.
This commit is contained in:
@@ -283,6 +283,7 @@ int main(void) {
|
|||||||
|
|
||||||
event_dispatcher.run();
|
event_dispatcher.run();
|
||||||
|
|
||||||
|
sdcDisconnect(&SDCD1);
|
||||||
sdcStop(&SDCD1);
|
sdcStop(&SDCD1);
|
||||||
|
|
||||||
portapack::shutdown();
|
portapack::shutdown();
|
||||||
|
Reference in New Issue
Block a user