diff options
| author | Henrik Alsér <[email protected]> | 2022-11-22 01:07:59 +0100 |
|---|---|---|
| committer | Henrik Alsér <[email protected]> | 2022-11-22 01:07:59 +0100 |
| commit | e6b9722a31fe0a61d1ef66aa796be89cd95b1ea9 (patch) | |
| tree | a320378b90544ef2237bd2c852f00c07cb426c7e | |
| parent | 33ee48b9e815079bbc879818e744b40ce4ed8451 (diff) | |
Remove nrf9160 UARTE fix
| -rw-r--r-- | embassy-nrf/src/lib.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index 5726f1181..587e19be5 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs | |||
| @@ -268,12 +268,5 @@ pub fn init(config: config::Config) -> Peripherals { | |||
| 268 | #[cfg(feature = "_time-driver")] | 268 | #[cfg(feature = "_time-driver")] |
| 269 | time_driver::init(config.time_interrupt_priority); | 269 | time_driver::init(config.time_interrupt_priority); |
| 270 | 270 | ||
| 271 | // Disable UARTE (enabled by default for some reason) | ||
| 272 | #[cfg(feature = "_nrf9160")] | ||
| 273 | unsafe { | ||
| 274 | (*pac::UARTE0::ptr()).enable.write(|w| w.enable().disabled()); | ||
| 275 | (*pac::UARTE1::ptr()).enable.write(|w| w.enable().disabled()); | ||
| 276 | } | ||
| 277 | |||
| 278 | peripherals | 271 | peripherals |
| 279 | } | 272 | } |
