diff options
| author | Matt Johnston <[email protected]> | 2025-08-15 11:11:09 +0800 |
|---|---|---|
| committer | Matt Johnston <[email protected]> | 2025-08-15 11:14:26 +0800 |
| commit | 1347daf7635007423c6df1464c4f45580d3236d0 (patch) | |
| tree | 1bf784119eb1b8d893b5ba297377bf877c75eece /embassy-stm32/src/vrefbuf/mod.rs | |
| parent | 26a8aa9566ec7d2e79f933e577caf23ead20b53f (diff) | |
stm32: Fix vrefbuf trace with log feature
Vrs and Hiz don't implement core::fmt::Display
Diffstat (limited to 'embassy-stm32/src/vrefbuf/mod.rs')
| -rw-r--r-- | embassy-stm32/src/vrefbuf/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | } |
