diff options
Diffstat (limited to 'nrf-softdevice/src/lib.rs')
-rw-r--r-- | nrf-softdevice/src/lib.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/nrf-softdevice/src/lib.rs b/nrf-softdevice/src/lib.rs index d018a36..e51112b 100644 --- a/nrf-softdevice/src/lib.rs +++ b/nrf-softdevice/src/lib.rs @@ -5,9 +5,7 @@ pub(crate) mod util; #[cfg(not(any(feature = "ble-central", feature = "ble-peripheral",)))] -compile_error!( - "You must activate at least one of the following features: ble-central, ble-peripheral" -); +compile_error!("You must activate at least one of the following features: ble-central, ble-peripheral"); #[cfg(not(any( feature = "s112", @@ -135,7 +133,6 @@ use nrf52832_pac as pac; use nrf52833_pac as pac; #[cfg(feature = "nrf52840")] use nrf52840_pac as pac; - #[cfg(feature = "s112")] pub use nrf_softdevice_s112 as raw; #[cfg(feature = "s113")] @@ -167,6 +164,5 @@ mod temperature; pub use temperature::temperature_celsius; mod random; -pub use random::random_bytes; - pub use nrf_softdevice_macro::*; +pub use random::random_bytes; |