From a2a780a3f26a6714c15013a09caec33a76ac9518 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 25 Aug 2023 15:06:02 +0800 Subject: [PATCH] firmware: fix compilation warning --- artiq/firmware/libboard_misoc/io_expander.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_misoc/io_expander.rs b/artiq/firmware/libboard_misoc/io_expander.rs index e9f0a48b4..b86f4bd80 100644 --- a/artiq/firmware/libboard_misoc/io_expander.rs +++ b/artiq/firmware/libboard_misoc/io_expander.rs @@ -85,7 +85,7 @@ impl IoExpander { pub fn new() -> Result { 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,