Skip to content

Commit 0b15412

Browse files
committed
supply: increase USB-SDP and negotiation current to 500 mA
This should help with very low battery startup.
1 parent 6a755c3 commit 0b15412

File tree

1 file changed

+2
-2
lines changed
  • openemc-firmware/src/supply

1 file changed

+2
-2
lines changed

openemc-firmware/src/supply/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ impl PowerSupply {
110110
pub fn max_current_ma(&self) -> u32 {
111111
match self {
112112
Self::Unknown | Self::Disconnected => 0,
113-
Self::Ps2 | Self::UsbSdp => 100,
113+
Self::Ps2 | Self::UsbSdp => 500,
114114
Self::UsbDcp | Self::UsbCdp => 1500,
115115
Self::PdoContract { max_current_ma, .. } => *max_current_ma,
116116
Self::CcPins5V1500mA => 1500,
117117
Self::CcPins5V3000mA => 3000,
118-
Self::Negotiating => 100,
118+
Self::Negotiating => 500,
119119
}
120120
}
121121

0 commit comments

Comments
 (0)