diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-04-11 23:00:14 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-04-11 23:09:02 +0200 |
| commit | 9a677ab618aa7a7612cd079b77d3240bdb02fdac (patch) | |
| tree | 17eacc9698a823a8ad5af3fd44468f54e69a5c1d /embassy-nrf/src/uarte.rs | |
| parent | 5c42ca13bd207c5923cb36e1454f3f838582b6cb (diff) | |
common/peripheral: do not require mut in PeripheralRef clone_unchecked.
Diffstat (limited to 'embassy-nrf/src/uarte.rs')
| -rw-r--r-- | embassy-nrf/src/uarte.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/uarte.rs b/embassy-nrf/src/uarte.rs index 3934d1b55..e59b2332a 100644 --- a/embassy-nrf/src/uarte.rs +++ b/embassy-nrf/src/uarte.rs | |||
| @@ -205,7 +205,7 @@ impl<'d, T: Instance> Uarte<'d, T> { | |||
| 205 | ppi_ch1: impl Peripheral<P = impl ConfigurableChannel + 'd> + 'd, | 205 | ppi_ch1: impl Peripheral<P = impl ConfigurableChannel + 'd> + 'd, |
| 206 | ppi_ch2: impl Peripheral<P = impl ConfigurableChannel + 'd> + 'd, | 206 | ppi_ch2: impl Peripheral<P = impl ConfigurableChannel + 'd> + 'd, |
| 207 | ) -> (UarteTx<'d, T>, UarteRxWithIdle<'d, T, U>) { | 207 | ) -> (UarteTx<'d, T>, UarteRxWithIdle<'d, T, U>) { |
| 208 | let mut timer = Timer::new(timer); | 208 | let timer = Timer::new(timer); |
| 209 | 209 | ||
| 210 | into_ref!(ppi_ch1, ppi_ch2); | 210 | into_ref!(ppi_ch1, ppi_ch2); |
| 211 | 211 | ||
