mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 17:17:28 -04:00
refactoring
This commit is contained in:
parent
bb90fdc5fc
commit
893df7272f
15 changed files with 40 additions and 1062 deletions
|
@ -515,11 +515,13 @@ bool init() {
|
|||
return true;
|
||||
}
|
||||
|
||||
void shutdown() {
|
||||
void shutdown(const bool leave_screen_on) {
|
||||
gpdma::controller.disable();
|
||||
|
||||
backlight()->off();
|
||||
display.shutdown();
|
||||
if (leave_screen_on) {
|
||||
backlight()->off();
|
||||
display.shutdown();
|
||||
}
|
||||
|
||||
radio::disable();
|
||||
audio::shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue