Compare commits

...

1 Commits

Author SHA1 Message Date
869c431ee6 channels: remove redundant pub 2024-08-16 15:56:00 +08:00

View File

@ -31,7 +31,7 @@ pub enum PinsAdcReadTarget {
} }
pub const CHANNELS: usize = 2; pub const CHANNELS: usize = 2;
pub const R_SENSE: f64 = 0.05; const R_SENSE: f64 = 0.05;
// From design specs // From design specs
pub const MAX_TEC_I: ElectricCurrent = ElectricCurrent { pub const MAX_TEC_I: ElectricCurrent = ElectricCurrent {
@ -58,7 +58,7 @@ pub struct Channels {
pub adc: ad7172::Adc<pins::AdcSpi, pins::AdcNss>, pub adc: ad7172::Adc<pins::AdcSpi, pins::AdcNss>,
/// stm32f4 integrated adc /// stm32f4 integrated adc
pins_adc: pins::PinsAdc, pins_adc: pins::PinsAdc,
pub pwm: pins::PwmPins, pwm: pins::PwmPins,
} }
impl Channels { impl Channels {