mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-24 15:25:50 -04:00
Shut down LCD during PortaPack shutdown.
This commit is contained in:
parent
98a1eb5c1c
commit
96babc3e84
2 changed files with 2 additions and 1 deletions
|
@ -146,6 +146,8 @@ void init() {
|
|||
void shutdown() {
|
||||
sdcStop(&SDCD1);
|
||||
|
||||
display.shutdown();
|
||||
|
||||
radio::disable();
|
||||
audio_codec.reset();
|
||||
clock_manager.shutdown();
|
||||
|
|
|
@ -151,7 +151,6 @@ Context& SystemView::context() const {
|
|||
|
||||
HackRFFirmwareView::HackRFFirmwareView(NavigationView& nav) {
|
||||
button_yes.on_select = [&nav](Button&){
|
||||
// TODO: Clear screen?
|
||||
portapack::shutdown();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue