[UCPD] Fix dead-battery disable for G0
Inverted flag got missed in the original PR.
This commit is contained in:
parent
7b80de5e3d
commit
21e2499f35
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ pub(crate) fn init(
|
|||
// strobe will apply the CC pin configuration from the control register
|
||||
// (which is why we need to be careful about when we call this)
|
||||
crate::pac::SYSCFG.cfgr1().modify(|w| {
|
||||
w.set_ucpd1_strobe(ucpd1_db_enable);
|
||||
w.set_ucpd2_strobe(ucpd2_db_enable);
|
||||
w.set_ucpd1_strobe(!ucpd1_db_enable);
|
||||
w.set_ucpd2_strobe(!ucpd2_db_enable);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue