mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
cleanup broken alt-target builds
This commit is contained in:
parent
d261090f31
commit
e1cde0328c
1 changed files with 2 additions and 0 deletions
|
|
@ -759,6 +759,7 @@ pub fn wrapped_main(main_thread_token: MainThreadToken) -> ! {
|
|||
GfxOpcode::RenderQr => {
|
||||
minigfx::handlers::render_qr(&mut display, screen_clip.into(), msg);
|
||||
}
|
||||
#[cfg(feature = "board-baosec")]
|
||||
GfxOpcode::PowerDown => {
|
||||
display.stash();
|
||||
display.powerdown();
|
||||
|
|
@ -767,6 +768,7 @@ pub fn wrapped_main(main_thread_token: MainThreadToken) -> ! {
|
|||
scalar.arg1 = 1;
|
||||
}
|
||||
}
|
||||
#[cfg(feature = "board-baosec")]
|
||||
GfxOpcode::PowerUp => {
|
||||
// safety: this is safe because we call init() a prescribed delay after power-up
|
||||
unsafe { display.powerup() };
|
||||
|
|
|
|||
Loading…
Reference in a new issue