rust format

MorganTL 2023-08-01 16:29:39 +08:00
parent 9595355577
commit 10cfd8fc50
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ async fn async_rtio_led() {
let i2c1 = unsafe { (&mut i2c::I2C_BUS).as_mut().unwrap() };
let mut io_expander0 = io_expander::IoExpander::new(i2c0, 0).unwrap();
let mut io_expander1 = io_expander::IoExpander::new(i2c1, 1).unwrap();
loop{
loop {
let _ = block_async!(wait_for_virtual_leds_change()).await;
info!("switching");
io_expander0.service().expect("I2C I/O expander #0 service failed");