forked from M-Labs/artiq
1
0
Fork 0

firmware: fix compilation warning

This commit is contained in:
Sebastien Bourdeauducq 2023-08-25 15:06:02 +08:00
parent 3620358f12
commit a2a780a3f2
1 changed files with 1 additions and 1 deletions

View File

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