Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
liebman committed Aug 30, 2024
1 parent 516010f commit 864c12a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions esp-hal/src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ pub enum Error {
#[cfg(any(feature = "embedded-hal", feature = "async"))]
#[derive(PartialEq)]
// This enum is used to keep track of the last/next operation that was/will be
// performed in an embedded-hal(-async) I2C::transaction. It used to determine
// whether a START condition should be issued at the start of the current
// operation and whether a read needs an ack or a nack for the final byte.
// performed in an embedded-hal(-async) I2C::transaction. It is used to
// determine whether a START condition should be issued at the start of the
// current operation and whether a read needs an ack or a nack for the final
// byte.
enum Op {
Write,
Read,
Expand Down

0 comments on commit 864c12a

Please sign in to comment.