add AdcCore for ADC measurement
This commit is contained in:
parent
f4759a0c71
commit
5288cba869
2 changed files with 27 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue