mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Shut down LCD during PortaPack shutdown.
This commit is contained in:
parent
98a1eb5c1c
commit
96babc3e84
@ -146,6 +146,8 @@ void init() {
|
|||||||
void shutdown() {
|
void shutdown() {
|
||||||
sdcStop(&SDCD1);
|
sdcStop(&SDCD1);
|
||||||
|
|
||||||
|
display.shutdown();
|
||||||
|
|
||||||
radio::disable();
|
radio::disable();
|
||||||
audio_codec.reset();
|
audio_codec.reset();
|
||||||
clock_manager.shutdown();
|
clock_manager.shutdown();
|
||||||
|
@ -151,7 +151,6 @@ Context& SystemView::context() const {
|
|||||||
|
|
||||||
HackRFFirmwareView::HackRFFirmwareView(NavigationView& nav) {
|
HackRFFirmwareView::HackRFFirmwareView(NavigationView& nav) {
|
||||||
button_yes.on_select = [&nav](Button&){
|
button_yes.on_select = [&nav](Button&){
|
||||||
// TODO: Clear screen?
|
|
||||||
portapack::shutdown();
|
portapack::shutdown();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user