From c6040899dd0833aebcd8541842b8521ab89c64bf Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 3 Apr 2024 15:58:15 +0800 Subject: [PATCH] ItecPin -> ITecPin --- src/channel.rs | 2 +- src/pins.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/channel.rs b/src/channel.rs index c867894..47eef24 100644 --- a/src/channel.rs +++ b/src/channel.rs @@ -24,7 +24,7 @@ pub struct Channel { pub vref_meas: ElectricPotential, pub shdn: C::Shdn, pub vref_pin: C::VRefPin, - pub itec_pin: C::ItecPin, + pub itec_pin: C::ITecPin, /// feedback from `dac` output pub dac_feedback_pin: C::DacFeedbackPin, pub tec_u_meas_pin: C::TecUMeasPin, diff --git a/src/pins.rs b/src/pins.rs index c95294b..3bf07fc 100644 --- a/src/pins.rs +++ b/src/pins.rs @@ -61,7 +61,7 @@ pub trait ChannelPins { type DacSync: OutputPin; type Shdn: OutputPin; type VRefPin; - type ItecPin; + type ITecPin; type DacFeedbackPin; type TecUMeasPin; } @@ -76,7 +76,7 @@ impl ChannelPins for Channel0 { type DacSync = PE4>; type Shdn = PE10>; type VRefPin = Channel0VRef; - type ItecPin = PA6; + type ITecPin = PA6; type DacFeedbackPin = PA4; type TecUMeasPin = PC2; } @@ -91,7 +91,7 @@ impl ChannelPins for Channel1 { type DacSync = PF6>; type Shdn = PE15>; type VRefPin = Channel1VRef; - type ItecPin = PB0; + type ITecPin = PB0; type DacFeedbackPin = PA5; type TecUMeasPin = PC3; } @@ -108,7 +108,7 @@ pub struct ChannelPinSet { pub dac_sync: C::DacSync, pub shdn: C::Shdn, pub vref_pin: C::VRefPin, - pub itec_pin: C::ItecPin, + pub itec_pin: C::ITecPin, pub dac_feedback_pin: C::DacFeedbackPin, pub tec_u_meas_pin: C::TecUMeasPin, }