mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-02-16 08:53:17 +00:00
Bug: There are at most 18 channels for the ADC.
This commit is contained in:
parent
bd13b5c060
commit
32b1b4067f
@ -170,7 +170,7 @@ impl<'d, T: Instance> Adc<'d, T> {
|
||||
|
||||
fn configure_differential_inputs(&mut self) {
|
||||
T::regs().difsel().modify(|w| {
|
||||
for n in 0..20 {
|
||||
for n in 0..18 {
|
||||
w.set_difsel(n, Difsel::SINGLEENDED);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user