From ac2d2a8ecd9a8fb841d07666153c230951e8b2c8 Mon Sep 17 00:00:00 2001 From: Kesavan Yogeswaran Date: Sun, 8 Oct 2023 22:21:01 -0400 Subject: [PATCH] Fix typos caught by Mark and Chris --- src/bin/proto1_0.rs | 2 +- src/weight/ads1230.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/proto1_0.rs b/src/bin/proto1_0.rs index 07659db..4fc31e4 100644 --- a/src/bin/proto1_0.rs +++ b/src/bin/proto1_0.rs @@ -127,7 +127,7 @@ async fn main(spawner: Spawner) -> ! { gpio::OutputDrive::Standard, ); - // Not supposed to power up the ADS1230 until at least 10us after the poewr supplies have come + // Not supposed to power up the ADS1230 until at least 10us after the power supplies have come // up. Insert a delay to be safe. Timer::after(Duration::from_micros(10)).await; let mut pwdn = gpio::Output::new( diff --git a/src/weight/ads1230.rs b/src/weight/ads1230.rs index 968372b..6eca457 100644 --- a/src/weight/ads1230.rs +++ b/src/weight/ads1230.rs @@ -70,7 +70,7 @@ impl<'d> Ads1230<'d> { pub async fn power_up(&mut self) { self.clock.set_low(); self.vdda_on.set_low(); - // Give plenty of time (relative to Proto1.0 RC time constants) to for the analog supply + // Give plenty of time (relative to Proto1.0 RC time constants) for the analog supply // voltage to settle Timer::after(Duration::from_micros(100)).await; self.state = PowerState::On;