diff --git a/src/libboard_artiq/src/io_expander.rs b/src/libboard_artiq/src/io_expander.rs index e7f659d..5157805 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);