Skip to content

Commit

Permalink
Update rp2040-hal/src/i2c/controller/eh1_0_async.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Niehusmann <[email protected]>
  • Loading branch information
ithinuel and jannic authored Jan 6, 2024
1 parent 95064ff commit 1662f53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rp2040-hal/src/i2c/controller/eh1_0_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ where
} else {
w.stop().disable();
}
// Safety: the `.bits()` fields are marked `unsafe` but all bit values are valid
unsafe { w.dat().bits(byte) }
});
}
Expand Down

0 comments on commit 1662f53

Please sign in to comment.