Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
acpiccolo committed Jan 12, 2025
1 parent d197862 commit 54705d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ The following hardware is required for this project:
* One or more SDM72 energy meter.
* One USB-RS485 converter.

![SDM72 temperature collector](/images/SDM72.png)

### Data sheet SDM72 energy meter
* maximum 100 Ampere
* Two wire types: 3 phase with 4 wire or 1 phase with 2 wire
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ fn main() -> Result<()> {
ensure_authorization(&mut d)?;
d.reset_historical_data()
.with_context(|| "Cannot reset historical data")?;
println!("Historical data successfully resetted",);
println!("Historical data successfully reset",);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ impl std::fmt::Display for Password {
}

/// Baud rate of the Modbus RTU protocol for the RS485 serial port.
/// Suppored rates are: 1200, 2400, 4800, 9600, 19200
/// Supported rates are: 1200, 2400, 4800, 9600, 19200
///
/// Note: To set the value you need ['KPPA'](enum@KPPA).
#[derive(Debug, Default, Clone, Copy, PartialEq)]
Expand Down

0 comments on commit 54705d1

Please sign in to comment.