satman: fix i2cswitch

pull/172/head
spaqin 11 months ago
parent 4f2a0986da
commit 3c17362fad
  1. 2
      src/satman/src/main.rs

@ -284,7 +284,7 @@ fn process_aux_packet(_repeaters: &mut [repeater::Repeater],
}
drtioaux::Packet::I2cSwitchSelectRequest { destination: _destination, busno: _busno, address, mask } => {
forward!(_routing_table, _destination, *_rank, _repeaters, &packet, timer);
ch = match mask { //decode from mainline, PCA9548-centric API
let ch = match mask { //decode from mainline, PCA9548-centric API
0x00 => None,
0x01 => Some(0),
0x02 => Some(1),

Loading…
Cancel
Save