mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
make bio-op infalliable
this allows suspends to proceed even if the subsystem has an error
This commit is contained in:
parent
ccb5912c1a
commit
ae0eee60c5
1 changed files with 5 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue