adc.rs: fix channel -> smp register mismatch for channel 11, add channel 10
@@ -498,7 +498,8 @@ macro_rules! adc_hal {
7 => self.adc.smpr1.modify(|_, w| w.smp7().variant(smp.into())),
8 => self.adc.smpr1.modify(|_, w| w.smp8().variant(smp.into())),
9 => self.adc.smpr1.modify(|_, w| w.smp9().variant(smp.into())),
- 11 => self.adc.smpr2.modify(|_, w| w.smp10().variant(smp.into())),
+ 10 => self.adc.smpr2.modify(|_, w| w.smp10().variant(smp.into())),
+ 11 => self.adc.smpr2.modify(|_, w| w.smp11().variant(smp.into())),
12 => self.adc.smpr2.modify(|_, w| w.smp12().variant(smp.into())),
13 => self.adc.smpr2.modify(|_, w| w.smp13().variant(smp.into())),
14 => self.adc.smpr2.modify(|_, w| w.smp14().variant(smp.into())),
