forked from M-Labs/artiq
1
0
Fork 0

drtio: fix i2c switch

This commit is contained in:
spaqin 2022-03-04 14:01:35 +08:00 committed by Sébastien Bourdeauducq
parent 17ecd35530
commit 51fa1b5e5e
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ mod remote_i2c {
}
pub fn switch_select(io: &Io, aux_mutex: &Mutex, linkno: u8, destination: u8, busno: u8, address: u8, mask: u8) -> Result<u8, &'static str> {
let reply = drtio::aux_transact(io, aux_mutex, linkno, &drtioaux::Packet::I2cPca954xSelectRequest {
let reply = drtio::aux_transact(io, aux_mutex, linkno, &drtioaux::Packet::I2cSwitchSelectRequest {
destination: destination,
busno: busno,
address: address,