File tree Expand file tree Collapse file tree
framework_lib/src/chromium_ec Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -331,15 +331,15 @@ impl EcResponseExpansionBayStatus {
331331 self . state & ( ExpansionByStates :: HatchSwitchClosed as u8 ) != 0
332332 }
333333 pub fn expansion_bay_board ( & self ) -> Result < ExpansionBayBoard , ExpansionBayIssue > {
334- match ( self . board_id_1 , self . board_id_0 ) {
334+ match ( self . board_id_0 , self . board_id_1 ) {
335335 ( BOARD_VERSION_12 , BOARD_VERSION_12 ) => Ok ( ExpansionBayBoard :: DualInterposer ) ,
336336 ( BOARD_VERSION_13 , BOARD_VERSION_15 ) => Ok ( ExpansionBayBoard :: UmaFans ) ,
337337 ( BOARD_VERSION_11 , BOARD_VERSION_15 ) => Ok ( ExpansionBayBoard :: SingleInterposer ) ,
338338 ( BOARD_VERSION_15 , BOARD_VERSION_15 ) => Err ( ExpansionBayIssue :: NoModule ) ,
339339 // Invalid board IDs. Something wrong, could be interposer not connected
340340 _ => Err ( ExpansionBayIssue :: BadConnection (
341- self . board_id_1 ,
342341 self . board_id_0 ,
342+ self . board_id_1 ,
343343 ) ) ,
344344 }
345345 }
You can’t perform that action at this time.
0 commit comments