Shut down LCD during PortaPack shutdown.

This commit is contained in:
Jared Boone 2015-08-01 14:40:05 -07:00
parent 98a1eb5c1c
commit 96babc3e84
2 changed files with 2 additions and 1 deletions

View File

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

View File

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