make bio-op infalliable

this allows suspends to proceed even if the subsystem has an error
This commit is contained in:
bunnie 2026-05-08 03:11:30 +08:00
parent ccb5912c1a
commit ae0eee60c5

View file

@ -132,7 +132,11 @@ fn bio_service(clk_freq: u32) {
if let Some(_scalar) = msg_opt.as_mut().unwrap().body.scalar_message_mut() {
// pause rendering while the clock transitions, avoiding 'bright glitches'
#[cfg(feature = "oem-baosec-lite")]
xous::send_message(led_conn, xous::Message::new_blocking_scalar(128, 0, 0, 0, 0)).ok();
xous::send_message(
led_conn,
xous::Message::new_blocking_scalar(128, _scalar.arg1, 0, 0, 0),
)
.ok();
}
}