diff --git a/src/main.rs b/src/main.rs index 089da3b..0c4815d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -168,14 +168,13 @@ fn generate_payload(args: &mut Args) -> Result { match message.content { Content::Text { text } => { - #[cfg(not(any(feature = "u8g2-fonts")))] let text = Text::new( &text, Point::new(0, 8), U8g2TextStyle::new(u8g2_font_lucasfont_alternate_tf, BinaryColor::On), ); - + #[cfg(feature = "u8g2-fonts")] let text = Text::new( &text,