Update stm32-metapac.

This commit is contained in:
Dario Nieuwenhuis
2023-12-08 20:07:59 +01:00
parent 881cb16d28
commit c27459c052
6 changed files with 12 additions and 6 deletions

View File

@ -148,7 +148,7 @@ impl<'d, T: Instance> Adc<'d, T> {
reg.set_cont(false);
reg.set_exttrig(true);
reg.set_swstart(false);
reg.set_extsel(crate::pac::adc::vals::Extsel::SWSTART);
reg.set_extsel(7); // SWSTART
});
// Configure the channel to sample