aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-extras/src/fmt.rs1
-rw-r--r--embassy-nrf/src/fmt.rs1
-rw-r--r--embassy-stm32f4/src/fmt.rs1
-rw-r--r--embassy/src/fmt.rs1
4 files changed, 4 insertions, 0 deletions
diff --git a/embassy-extras/src/fmt.rs b/embassy-extras/src/fmt.rs
index fc1855ed1..160642ccd 100644
--- a/embassy-extras/src/fmt.rs
+++ b/embassy-extras/src/fmt.rs
@@ -1,5 +1,6 @@
1#![macro_use] 1#![macro_use]
2#![allow(clippy::module_inception)] 2#![allow(clippy::module_inception)]
3#![allow(unused)]
3 4
4#[cfg(all(feature = "defmt", feature = "log"))] 5#[cfg(all(feature = "defmt", feature = "log"))]
5compile_error!("You may not enable both `defmt` and `log` features."); 6compile_error!("You may not enable both `defmt` and `log` features.");
diff --git a/embassy-nrf/src/fmt.rs b/embassy-nrf/src/fmt.rs
index fc1855ed1..160642ccd 100644
--- a/embassy-nrf/src/fmt.rs
+++ b/embassy-nrf/src/fmt.rs
@@ -1,5 +1,6 @@
1#![macro_use] 1#![macro_use]
2#![allow(clippy::module_inception)] 2#![allow(clippy::module_inception)]
3#![allow(unused)]
3 4
4#[cfg(all(feature = "defmt", feature = "log"))] 5#[cfg(all(feature = "defmt", feature = "log"))]
5compile_error!("You may not enable both `defmt` and `log` features."); 6compile_error!("You may not enable both `defmt` and `log` features.");
diff --git a/embassy-stm32f4/src/fmt.rs b/embassy-stm32f4/src/fmt.rs
index fc1855ed1..160642ccd 100644
--- a/embassy-stm32f4/src/fmt.rs
+++ b/embassy-stm32f4/src/fmt.rs
@@ -1,5 +1,6 @@
1#![macro_use] 1#![macro_use]
2#![allow(clippy::module_inception)] 2#![allow(clippy::module_inception)]
3#![allow(unused)]
3 4
4#[cfg(all(feature = "defmt", feature = "log"))] 5#[cfg(all(feature = "defmt", feature = "log"))]
5compile_error!("You may not enable both `defmt` and `log` features."); 6compile_error!("You may not enable both `defmt` and `log` features.");
diff --git a/embassy/src/fmt.rs b/embassy/src/fmt.rs
index fc1855ed1..160642ccd 100644
--- a/embassy/src/fmt.rs
+++ b/embassy/src/fmt.rs
@@ -1,5 +1,6 @@
1#![macro_use] 1#![macro_use]
2#![allow(clippy::module_inception)] 2#![allow(clippy::module_inception)]
3#![allow(unused)]
3 4
4#[cfg(all(feature = "defmt", feature = "log"))] 5#[cfg(all(feature = "defmt", feature = "log"))]
5compile_error!("You may not enable both `defmt` and `log` features."); 6compile_error!("You may not enable both `defmt` and `log` features.");