mirror of https://github.com/m-labs/artiq.git
firmware: fix compilation warning
This commit is contained in:
parent
3620358f12
commit
a2a780a3f2
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue