mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add hook on bao-video to handle the qr_render case
This commit is contained in:
parent
6ecaa36d98
commit
c813aa1b92
1 changed files with 3 additions and 0 deletions
|
|
@ -702,6 +702,9 @@ pub fn wrapped_main(main_thread_token: MainThreadToken) -> ! {
|
||||||
}
|
}
|
||||||
// no failure if it's not
|
// no failure if it's not
|
||||||
}
|
}
|
||||||
|
GfxOpcode::RenderQr => {
|
||||||
|
minigfx::handlers::render_qr(&mut display, screen_clip.into(), msg);
|
||||||
|
}
|
||||||
GfxOpcode::Quit => break,
|
GfxOpcode::Quit => break,
|
||||||
_ => {
|
_ => {
|
||||||
// This is perfectly normal because not all opcodes are handled by all platforms.
|
// This is perfectly normal because not all opcodes are handled by all platforms.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue