mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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 => {
|
GfxOpcode::RenderQr => {
|
||||||
minigfx::handlers::render_qr(&mut display, screen_clip.into(), msg);
|
minigfx::handlers::render_qr(&mut display, screen_clip.into(), msg);
|
||||||
}
|
}
|
||||||
|
#[cfg(feature = "board-baosec")]
|
||||||
GfxOpcode::PowerDown => {
|
GfxOpcode::PowerDown => {
|
||||||
display.stash();
|
display.stash();
|
||||||
display.powerdown();
|
display.powerdown();
|
||||||
|
|
@ -767,6 +768,7 @@ pub fn wrapped_main(main_thread_token: MainThreadToken) -> ! {
|
||||||
scalar.arg1 = 1;
|
scalar.arg1 = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#[cfg(feature = "board-baosec")]
|
||||||
GfxOpcode::PowerUp => {
|
GfxOpcode::PowerUp => {
|
||||||
// safety: this is safe because we call init() a prescribed delay after power-up
|
// safety: this is safe because we call init() a prescribed delay after power-up
|
||||||
unsafe { display.powerup() };
|
unsafe { display.powerup() };
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue