Skip to content

Commit 0210012

Browse files
committed
OPAMP - Avoid overwriting rcc config of other modules
1 parent c765117 commit 0210012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/opamp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ macro_rules! opamps {
209209
) -> (
210210
$($opamp::Disabled,)*
211211
) {
212-
rcc.rb.apb2enr.write(|w| w.syscfgen().set_bit());
212+
rcc.rb.apb2enr.modify(|_, w| w.syscfgen().set_bit());
213213

214214
(
215215
$($opamp::Disabled,)*

0 commit comments

Comments
 (0)