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;