From f24c38f2a4ae6e439da2aae34062299c0383ca82 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Mon, 7 Jun 2021 13:51:06 +0200 Subject: [PATCH] Fix --- embassy-stm32/src/dac/v2.rs | 3 ++- stm32-data | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/embassy-stm32/src/dac/v2.rs b/embassy-stm32/src/dac/v2.rs index d8c9415b..25a87db0 100644 --- a/embassy-stm32/src/dac/v2.rs +++ b/embassy-stm32/src/dac/v2.rs @@ -5,7 +5,8 @@ use core::marker::PhantomData; use embassy::util::Unborrow; use embassy_extras::unborrow; -#[derive(Debug, defmt::Format)] +#[derive(Debug)] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] pub enum Error { UnconfiguredChannel, InvalidValue, diff --git a/stm32-data b/stm32-data index 6cc69700..ced687a3 160000 --- a/stm32-data +++ b/stm32-data @@ -1 +1 @@ -Subproject commit 6cc69700e38459c6432b02e31831c252c4dbf606 +Subproject commit ced687a382fa8b641af568dadc71af7abe62d5cd