From c5219f7ba781de83095c6e6b957a263c5d0019e0 Mon Sep 17 00:00:00 2001 From: Mathias Koch Date: Thu, 18 Jul 2024 09:22:55 +0200 Subject: [PATCH] Add missing defmt derive (#85) --- src/network.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network.rs b/src/network.rs index 0d9204c..0aaedfe 100644 --- a/src/network.rs +++ b/src/network.rs @@ -9,6 +9,7 @@ use heapless::String; use core::convert::TryFrom; #[derive(Debug, Clone, Copy, PartialEq, Eq)] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] pub enum WifiMode { Station, AccessPoint,