Skip to content

Commit f2fec2e

Browse files
committed
Fix feature flags
1 parent 46ba6fd commit f2fec2e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

embassy-nrf/src/ppi/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,7 @@ impl_group!(PPI_GROUP1, 1);
379379
impl_group!(PPI_GROUP2, 2);
380380
#[cfg(not(feature = "_nrf54l"))]
381381
impl_group!(PPI_GROUP3, 3);
382-
#[cfg(not(feature = "_nrf51"))]
383-
#[cfg(not(feature = "_nrf54l"))]
382+
#[cfg(not(any(feature = "_nrf51", feature = "_nrf54l")))]
384383
impl_group!(PPI_GROUP4, 4);
385-
#[cfg(not(feature = "_nrf51"))]
386-
#[cfg(not(feature = "_nrf54l"))]
384+
#[cfg(not(any(feature = "_nrf51", feature = "_nrf54l")))]
387385
impl_group!(PPI_GROUP5, 5);

0 commit comments

Comments
 (0)