mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-27 12:20:37 +00:00
Merge pull request #4178 from diondokter/opamp-fix
Stm32: Fix opamp copy pasta mistake
This commit is contained in:
commit
e0920e8c66
@ -239,7 +239,7 @@ impl<'d, T: Instance> OpAmp<'d, T> {
|
||||
|
||||
T::regs().csr().modify(|w| {
|
||||
w.set_vp_sel(VpSel::from_bits(pin.channel()));
|
||||
w.set_vm_sel(VmSel::OUTPUT);
|
||||
w.set_vm_sel(VmSel::PGA);
|
||||
w.set_pga_gain(pga_gain);
|
||||
w.set_opaintoen(true);
|
||||
w.set_opampen(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user