Move sdcStop() call to have symmetry with sdcStart().

This commit is contained in:
Jared Boone 2015-11-13 10:55:08 -08:00
parent 0a9da7a1d3
commit 6f09cf21f8
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -143,8 +143,6 @@ void init() {
}
void shutdown() {
sdcStop(&SDCD1);
display.shutdown();
radio::disable();