2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 13:13:34 +08:00

firmware: fix compilation warning

This commit is contained in:
Sebastien Bourdeauducq 2023-08-25 15:06:02 +08:00
parent 3620358f12
commit a2a780a3f2

View File

@ -85,7 +85,7 @@ impl IoExpander {
pub fn new() -> Result<Self, &'static str> {
const VIRTUAL_LED_MAPPING: [(u8, u8, u8); 2] = [(0, 0, 5), (1, 0, 6)];
let mut io_expander = IoExpander {
let io_expander = IoExpander {
busno: 0,
port: 1,
address: 0x40,