Skip to content

Commit

Permalink
Enable ICO for USB-CDP supply.
Browse files Browse the repository at this point in the history
  • Loading branch information
surban committed Jun 10, 2024
1 parent 3c7b870 commit 33ed376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openemc-firmware/src/board.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ pub trait Board {
} else {
power_supply.max_current_ma().min(500)
},
ico: matches!(power_supply, PowerSupply::UsbDcp),
ico: matches!(power_supply, PowerSupply::UsbDcp | PowerSupply::UsbCdp),
}
}

Expand Down

0 comments on commit 33ed376

Please sign in to comment.