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() {
sdcStop(&SDCD1);
display.shutdown();
radio::disable();
audio_codec.reset();
clock_manager.shutdown();

View File

@ -151,7 +151,6 @@ Context& SystemView::context() const {
HackRFFirmwareView::HackRFFirmwareView(NavigationView& nav) {
button_yes.on_select = [&nav](Button&){
// TODO: Clear screen?
portapack::shutdown();
};