diff options
| author | Dario Nieuwenhuis <[email protected]> | 2020-10-19 21:46:25 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2020-10-19 21:46:25 +0200 |
| commit | 53a064445f5d4761992bf2801b044586cc7dbeaf (patch) | |
| tree | 8e902b7c4b865ed56fe052b8b2782ba5761b60fb | |
| parent | a2e73cb54993e87879364827491216731c5d9f7f (diff) | |
defmt feature doesn't really exist here
| -rw-r--r-- | embassy/src/executor/executor.rs | 3 |
1 files changed, 1 insertions, 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<F: Future + 'static> { | |||
| 65 | future: UninitCell<F>, // Valid if STATE_RUNNING | 65 | future: UninitCell<F>, // Valid if STATE_RUNNING |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | #[derive(Copy, Clone, Debug)] | 68 | #[derive(Copy, Clone, Debug, defmt::Format)] |
| 69 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | ||
| 70 | pub enum SpawnError { | 69 | pub enum SpawnError { |
| 71 | Busy, | 70 | Busy, |
| 72 | } | 71 | } |
