File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
framework_lib/src/chromium_ec Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -331,15 +331,15 @@ impl EcResponseExpansionBayStatus {
331
331
self . state & ( ExpansionByStates :: HatchSwitchClosed as u8 ) != 0
332
332
}
333
333
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 ) {
335
335
( BOARD_VERSION_12 , BOARD_VERSION_12 ) => Ok ( ExpansionBayBoard :: DualInterposer ) ,
336
336
( BOARD_VERSION_13 , BOARD_VERSION_15 ) => Ok ( ExpansionBayBoard :: UmaFans ) ,
337
337
( BOARD_VERSION_11 , BOARD_VERSION_15 ) => Ok ( ExpansionBayBoard :: SingleInterposer ) ,
338
338
( BOARD_VERSION_15 , BOARD_VERSION_15 ) => Err ( ExpansionBayIssue :: NoModule ) ,
339
339
// Invalid board IDs. Something wrong, could be interposer not connected
340
340
_ => Err ( ExpansionBayIssue :: BadConnection (
341
- self . board_id_1 ,
342
341
self . board_id_0 ,
342
+ self . board_id_1 ,
343
343
) ) ,
344
344
}
345
345
}
You can’t perform that action at this time.
0 commit comments