aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <[email protected]>2025-08-15 11:11:09 +0800
committerMatt Johnston <[email protected]>2025-08-15 11:14:26 +0800
commit1347daf7635007423c6df1464c4f45580d3236d0 (patch)
tree1bf784119eb1b8d893b5ba297377bf877c75eece
parent26a8aa9566ec7d2e79f933e577caf23ead20b53f (diff)
stm32: Fix vrefbuf trace with log feature
Vrs and Hiz don't implement core::fmt::Display
-rw-r--r--embassy-stm32/CHANGELOG.md2
-rw-r--r--embassy-stm32/src/vrefbuf/mod.rs4
2 files changed, 4 insertions, 2 deletions
diff --git a/embassy-stm32/CHANGELOG.md b/embassy-stm32/CHANGELOG.md
index c68377432..0c2d23246 100644
--- a/embassy-stm32/CHANGELOG.md
+++ b/embassy-stm32/CHANGELOG.md
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8<!-- next-header --> 8<!-- next-header -->
9## Unreleased - ReleaseDate 9## Unreleased - ReleaseDate
10 10
11- fix: Fix vrefbuf building with log feature
12
11## 0.3.0 - 2025-08-12 13## 0.3.0 - 2025-08-12
12 14
13- feat: Added VREFBUF voltage reference buffer driver ([#4524](https://github.com/embassy-rs/embassy/pull/4524)) 15- feat: Added VREFBUF voltage reference buffer driver ([#4524](https://github.com/embassy-rs/embassy/pull/4524))
diff --git a/embassy-stm32/src/vrefbuf/mod.rs b/embassy-stm32/src/vrefbuf/mod.rs
index 54b4f8903..ccbd748d5 100644
--- a/embassy-stm32/src/vrefbuf/mod.rs
+++ b/embassy-stm32/src/vrefbuf/mod.rs
@@ -62,8 +62,8 @@ impl<'d, T: Instance> VoltageReferenceBuffer<'d, T> {
62 } 62 }
63 trace!( 63 trace!(
64 "Vrefbuf configured with voltage scale {} and impedance mode {}", 64 "Vrefbuf configured with voltage scale {} and impedance mode {}",
65 voltage_scale, 65 voltage_scale as u8,
66 impedance_mode 66 impedance_mode as u8,
67 ); 67 );
68 VoltageReferenceBuffer { vrefbuf: PhantomData } 68 VoltageReferenceBuffer { vrefbuf: PhantomData }
69 } 69 }