mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-25 15:29:37 -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();
|
event_dispatcher.run();
|
||||||
|
|
||||||
|
sdcStop(&SDCD1);
|
||||||
|
|
||||||
portapack::shutdown();
|
portapack::shutdown();
|
||||||
m4_init(portapack::spi_flash::hackrf, portapack::memory::map::m4_code_hackrf);
|
m4_init(portapack::spi_flash::hackrf, portapack::memory::map::m4_code_hackrf);
|
||||||
|
|
||||||
|
@ -143,8 +143,6 @@ void init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void shutdown() {
|
void shutdown() {
|
||||||
sdcStop(&SDCD1);
|
|
||||||
|
|
||||||
display.shutdown();
|
display.shutdown();
|
||||||
|
|
||||||
radio::disable();
|
radio::disable();
|
||||||
|
Loading…
Reference in New Issue
Block a user