mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-24 07:42:29 +00:00
nrf/pwm: fix bad pin assignment.
This commit is contained in:
parent
6fe798d680
commit
fff304b3de
@ -681,7 +681,7 @@ impl<'d, T: Instance> SimplePwm<'d, T> {
|
||||
pin.set_low();
|
||||
pin.conf().write(|w| w.set_dir(gpiovals::Dir::OUTPUT));
|
||||
}
|
||||
r.psel().out(i).write_value(ch0.psel_bits());
|
||||
r.psel().out(i).write_value(ch.psel_bits());
|
||||
}
|
||||
|
||||
let pwm = Self {
|
||||
|
Loading…
Reference in New Issue
Block a user