Open bcattle opened 1 year ago
Hey, good catch! Yes if you don't mind updating them I'd happily accept a PR. I haven't touched this crate in a while so maybe this isn't the best way, but you could use something like this instead:
#[cfg(any(
feature = "io-STM32L051",
feature = "io-STM32L071",
feature = "stm32l0x2",
feature = "stm32l0x3"
))]
(based on this code) - ymmv!
Hello everyone!
In
src/adc.rs
analog input pins are enabled based on feature macros like the following:However the "stm32l072" feature is not defined in
Cargo.toml
and appears to have been replaced:Should I update
adc.rs
to use the new macros? Thanks.