Skip to content

Commit 0a13593

Browse files
committed
Fix typos
1 parent ca6dafb commit 0a13593

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dma.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl<T, C, B> Transfer<T, C, B, Ready>
144144
/// Start the DMA transfer
145145
///
146146
/// Consumes this instance of `Transfer` and returns a new one, with its
147-
/// state changes to indicate that the transfer has been started.
147+
/// state changed to indicate that the transfer has been started.
148148
pub fn start(self) -> Transfer<T, C, B, Started> {
149149
compiler_fence(Ordering::SeqCst);
150150

src/i2c.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ where
138138
// Push out a byte of data
139139
self.i2c.txdr.write(|w| w.txdata().bits(byte));
140140

141-
// While until byte is transferred
141+
// Wait until byte is transferred
142142
loop {
143143
let isr = self.i2c.isr.read();
144144
if isr.berr().bit_is_set() {

0 commit comments

Comments
 (0)