From 22cb5168ecfba81ba49c91f4d3c1bdb46ee52b3e Mon Sep 17 00:00:00 2001 From: atse Date: Thu, 18 Jan 2024 14:12:19 +0800 Subject: [PATCH] channels: remove redundant pub --- src/channels.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/channels.rs b/src/channels.rs index 40c8af7..7f03ed5 100644 --- a/src/channels.rs +++ b/src/channels.rs @@ -31,7 +31,7 @@ pub enum PinsAdcReadTarget { } pub const CHANNELS: usize = 2; -pub const R_SENSE: f64 = 0.05; +const R_SENSE: f64 = 0.05; // From design specs pub const MAX_TEC_I: ElectricCurrent = ElectricCurrent { @@ -58,7 +58,7 @@ pub struct Channels { pub adc: ad7172::Adc, /// stm32f4 integrated adc pins_adc: pins::PinsAdc, - pub pwm: pins::PwmPins, + pwm: pins::PwmPins, } impl Channels {