From 3c17362fad70865d7dea56a793e19624d19bcd18 Mon Sep 17 00:00:00 2001 From: spaqin Date: Thu, 3 Mar 2022 17:18:22 +0800 Subject: [PATCH] satman: fix i2cswitch --- src/satman/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/satman/src/main.rs b/src/satman/src/main.rs index f8915d7..3bd7902 100644 --- a/src/satman/src/main.rs +++ b/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),