mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 04:40:39 +00:00
stm32: Fix vrefbuf trace with log feature
Vrs and Hiz don't implement core::fmt::Display
This commit is contained in:
parent
26a8aa9566
commit
1347daf763
@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
<!-- next-header -->
|
<!-- next-header -->
|
||||||
## Unreleased - ReleaseDate
|
## Unreleased - ReleaseDate
|
||||||
|
|
||||||
|
- fix: Fix vrefbuf building with log feature
|
||||||
|
|
||||||
## 0.3.0 - 2025-08-12
|
## 0.3.0 - 2025-08-12
|
||||||
|
|
||||||
- feat: Added VREFBUF voltage reference buffer driver ([#4524](https://github.com/embassy-rs/embassy/pull/4524))
|
- feat: Added VREFBUF voltage reference buffer driver ([#4524](https://github.com/embassy-rs/embassy/pull/4524))
|
||||||
|
@ -62,8 +62,8 @@ impl<'d, T: Instance> VoltageReferenceBuffer<'d, T> {
|
|||||||
}
|
}
|
||||||
trace!(
|
trace!(
|
||||||
"Vrefbuf configured with voltage scale {} and impedance mode {}",
|
"Vrefbuf configured with voltage scale {} and impedance mode {}",
|
||||||
voltage_scale,
|
voltage_scale as u8,
|
||||||
impedance_mode
|
impedance_mode as u8,
|
||||||
);
|
);
|
||||||
VoltageReferenceBuffer { vrefbuf: PhantomData }
|
VoltageReferenceBuffer { vrefbuf: PhantomData }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user