Skip to content

Commit

Permalink
Fix typos caught by Mark and Chris
Browse files Browse the repository at this point in the history
  • Loading branch information
kesyog committed Oct 9, 2023
1 parent bc4b926 commit ac2d2a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/proto1_0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion src/weight/ads1230.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ac2d2a8

Please sign in to comment.