From 37df7fd45b329fd6b9c7555180c399301f0ea882 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 30 Aug 2023 16:14:35 +0800 Subject: [PATCH] cargo fmt --- src/libboard_artiq/src/io_expander.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libboard_artiq/src/io_expander.rs b/src/libboard_artiq/src/io_expander.rs index e7f659de..51578057 100644 --- a/src/libboard_artiq/src/io_expander.rs +++ b/src/libboard_artiq/src/io_expander.rs @@ -152,7 +152,7 @@ impl IoExpander { } pub fn service(&mut self, i2c: &mut i2c::I2c) -> Result<(), &'static str> { - #[cfg(has_virtual_leds)] + #[cfg(has_virtual_leds)] for (led, port, bit) in self.virtual_led_mapping.iter() { let level = unsafe { csr::virtual_leds::status_read() >> led & 1 }; self.set(*port, *bit, level != 0);