aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/lib.rs
diff options
context:
space:
mode:
authorCaleb Jamison <[email protected]>2024-08-09 16:07:30 -0400
committerCaleb Jamison <[email protected]>2024-08-09 16:09:16 -0400
commitffdc60d6fb3fa8883b22a2b201a6cdf55b0d163f (patch)
treebab4422aea79d04b6abf7ebb9c45db2476616d4e /embassy-rp/src/lib.rs
parent05cb1baf375caff29f263f97dc3ade36562d4e1e (diff)
Move #![cfg]s to lib.rs
Diffstat (limited to 'embassy-rp/src/lib.rs')
-rw-r--r--embassy-rp/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-rp/src/lib.rs b/embassy-rp/src/lib.rs
index 006588c54..0bcc58b86 100644
--- a/embassy-rp/src/lib.rs
+++ b/embassy-rp/src/lib.rs
@@ -24,6 +24,7 @@ pub mod bootsel;
24pub mod clocks; 24pub mod clocks;
25pub mod dma; 25pub mod dma;
26pub mod flash; 26pub mod flash;
27#[cfg(feature = "rp2040")]
27mod float; 28mod float;
28pub mod gpio; 29pub mod gpio;
29pub mod i2c; 30pub mod i2c;
@@ -32,6 +33,7 @@ pub mod multicore;
32pub mod pwm; 33pub mod pwm;
33mod reset; 34mod reset;
34pub mod rom_data; 35pub mod rom_data;
36#[cfg(feature = "rp2040")]
35pub mod rtc; 37pub mod rtc;
36pub mod spi; 38pub mod spi;
37#[cfg(feature = "time-driver")] 39#[cfg(feature = "time-driver")]