diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-01-03 22:30:47 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-01-03 22:30:47 +0100 |
| commit | 39ca8b8dedb3db14f9770f09814ccf92481b6136 (patch) | |
| tree | 3db2f7017f2adfd354c83e289972aae5bb3ff4a3 | |
| parent | ace4f40f8089f8cebbac023a4a1b960d976d2776 (diff) | |
Fix build on non-nrf52840
| -rw-r--r-- | embassy-nrf/src/buffered_uarte.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-nrf/src/buffered_uarte.rs b/embassy-nrf/src/buffered_uarte.rs index 4749c3b45..c67b6f166 100644 --- a/embassy-nrf/src/buffered_uarte.rs +++ b/embassy-nrf/src/buffered_uarte.rs | |||
| @@ -430,6 +430,7 @@ impl Instance for pac::UARTE0 { | |||
| 430 | } | 430 | } |
| 431 | } | 431 | } |
| 432 | 432 | ||
| 433 | #[cfg(any(feature = "52833", feature = "52840", feature = "9160"))] | ||
| 433 | impl Instance for pac::UARTE1 { | 434 | impl Instance for pac::UARTE1 { |
| 434 | type Interrupt = interrupt::UARTE1Interrupt; | 435 | type Interrupt = interrupt::UARTE1Interrupt; |
| 435 | fn storage() -> &'static peripheral::Store<State<'static, Self>> { | 436 | fn storage() -> &'static peripheral::Store<State<'static, Self>> { |
