diff options
| author | nerwalt <[email protected]> | 2024-07-15 13:21:30 -0600 |
|---|---|---|
| committer | nerwalt <[email protected]> | 2024-07-15 13:21:30 -0600 |
| commit | 8a6cb98e45c45743bc8c8a2b678067d3e1660232 (patch) | |
| tree | 2cbbb8741539d7b180325f5c78095906ff93ca20 /embassy-nrf/src/saadc.rs | |
| parent | 4340d74e19bb99e2afdfb97232e8556aca7584b4 (diff) | |
Adding _nrf91 feature
Combining _nrf9160 and _nrf9120 in many places to reduce cfgs
Diffstat (limited to 'embassy-nrf/src/saadc.rs')
| -rw-r--r-- | embassy-nrf/src/saadc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-nrf/src/saadc.rs b/embassy-nrf/src/saadc.rs index e139b15da..3a94cbd8f 100644 --- a/embassy-nrf/src/saadc.rs +++ b/embassy-nrf/src/saadc.rs | |||
| @@ -722,9 +722,9 @@ macro_rules! impl_saadc_input { | |||
| 722 | pub struct VddInput; | 722 | pub struct VddInput; |
| 723 | 723 | ||
| 724 | impl_peripheral!(VddInput); | 724 | impl_peripheral!(VddInput); |
| 725 | #[cfg(not(any(feature = "_nrf9160", feature = "_nrf9120")))] | 725 | #[cfg(not(feature = "_nrf91"))] |
| 726 | impl_saadc_input!(@local, VddInput, VDD); | 726 | impl_saadc_input!(@local, VddInput, VDD); |
| 727 | #[cfg(not(any(feature = "_nrf9160", feature = "_nrf9120")))] | 727 | #[cfg(not(feature = "_nrf91"))] |
| 728 | impl_saadc_input!(@local, VddInput, VDDGPIO); | 728 | impl_saadc_input!(@local, VddInput, VDDGPIO); |
| 729 | 729 | ||
| 730 | /// A dummy `Input` pin implementation for SAADC peripheral sampling from the | 730 | /// A dummy `Input` pin implementation for SAADC peripheral sampling from the |
