From 53a064445f5d4761992bf2801b044586cc7dbeaf Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Mon, 19 Oct 2020 21:46:25 +0200 Subject: [PATCH] defmt feature doesn't really exist here --- embassy/src/executor/executor.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/embassy/src/executor/executor.rs b/embassy/src/executor/executor.rs index 7ef9230e4..62b781bad 100644 --- a/embassy/src/executor/executor.rs +++ b/embassy/src/executor/executor.rs @@ -65,8 +65,7 @@ pub struct Task { future: UninitCell, // Valid if STATE_RUNNING } -#[derive(Copy, Clone, Debug)] -#[cfg_attr(feature = "defmt", derive(defmt::Format))] +#[derive(Copy, Clone, Debug, defmt::Format)] pub enum SpawnError { Busy, }