aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKentaro Okuda <[email protected]>2022-12-30 08:53:16 -0500
committerKentaro Okuda <[email protected]>2022-12-30 08:53:16 -0500
commit72bb4f8798a4f42a8d0e409261e06f9a2d2f03ca (patch)
tree8ad27f36703a4eb7bc38a206f6cb421bbdc89d04
parent3478004b4d32c7c6edd38eed5239108b1d026317 (diff)
Fix a typo
-rw-r--r--embassy-nrf/src/uarte.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/uarte.rs b/embassy-nrf/src/uarte.rs
index 4703c1a50..031cf82fd 100644
--- a/embassy-nrf/src/uarte.rs
+++ b/embassy-nrf/src/uarte.rs
@@ -166,7 +166,7 @@ impl<'d, T: Instance> Uarte<'d, T> {
166 } 166 }
167 167
168 /// Split the Uarte into a transmitter and receiver, which is 168 /// Split the Uarte into a transmitter and receiver, which is
169 /// particuarly useful when having two tasks correlating to 169 /// particularly useful when having two tasks correlating to
170 /// transmitting and receiving. 170 /// transmitting and receiving.
171 pub fn split(self) -> (UarteTx<'d, T>, UarteRx<'d, T>) { 171 pub fn split(self) -> (UarteTx<'d, T>, UarteRx<'d, T>) {
172 (self.tx, self.rx) 172 (self.tx, self.rx)