mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
print backlight debug in hosted mode
This commit is contained in:
parent
26adda2fa7
commit
749b701687
1 changed files with 2 additions and 0 deletions
|
|
@ -673,6 +673,8 @@ fn main() -> ! {
|
|||
com.txrx(ComState::CHG_BOOST_ON.verb);
|
||||
}
|
||||
Some(Opcode::SetBackLight) => msg_scalar_unpack!(msg, main, secondary, _, _, {
|
||||
#[cfg(not(target_os = "xous"))]
|
||||
log::info!("HOSTED: set backlight to {},{}", main, secondary);
|
||||
bl_main = main;
|
||||
bl_sec = secondary;
|
||||
com.txrx(ComState::BL_START.verb | (main as u16) & 0x1f | (((secondary as u16) & 0x1f) << 5));
|
||||
|
|
|
|||
Loading…
Reference in a new issue