mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 14:59:24 -05:00
Move sdcStop() call to have symmetry with sdcStart().
This commit is contained in:
parent
0a9da7a1d3
commit
6f09cf21f8
@ -283,6 +283,8 @@ int main(void) {
|
||||
|
||||
event_dispatcher.run();
|
||||
|
||||
sdcStop(&SDCD1);
|
||||
|
||||
portapack::shutdown();
|
||||
m4_init(portapack::spi_flash::hackrf, portapack::memory::map::m4_code_hackrf);
|
||||
|
||||
|
@ -143,8 +143,6 @@ void init() {
|
||||
}
|
||||
|
||||
void shutdown() {
|
||||
sdcStop(&SDCD1);
|
||||
|
||||
display.shutdown();
|
||||
|
||||
radio::disable();
|
||||
|
Loading…
Reference in New Issue
Block a user