add AdcCore for ADC measurement

This commit is contained in:
sigil-03 2025-11-12 20:06:17 -07:00
parent f4759a0c71
commit 5288cba869
2 changed files with 27 additions and 2 deletions

View file

@ -301,6 +301,7 @@ pub struct Sequences {
// things that touch hardware
pub struct Interfaces {
pub pwm_core: SimplePwmCore<'static, ch32_hal::peripherals::TIM1>,
pub adc_core: crate::AdcCore,
}
pub struct App {