aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/saadc.rs
diff options
context:
space:
mode:
authornerwalt <[email protected]>2024-07-15 13:21:30 -0600
committernerwalt <[email protected]>2024-07-15 13:21:30 -0600
commit8a6cb98e45c45743bc8c8a2b678067d3e1660232 (patch)
tree2cbbb8741539d7b180325f5c78095906ff93ca20 /embassy-nrf/src/saadc.rs
parent4340d74e19bb99e2afdfb97232e8556aca7584b4 (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.rs4
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 {
722pub struct VddInput; 722pub struct VddInput;
723 723
724impl_peripheral!(VddInput); 724impl_peripheral!(VddInput);
725#[cfg(not(any(feature = "_nrf9160", feature = "_nrf9120")))] 725#[cfg(not(feature = "_nrf91"))]
726impl_saadc_input!(@local, VddInput, VDD); 726impl_saadc_input!(@local, VddInput, VDD);
727#[cfg(not(any(feature = "_nrf9160", feature = "_nrf9120")))] 727#[cfg(not(feature = "_nrf91"))]
728impl_saadc_input!(@local, VddInput, VDDGPIO); 728impl_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