From 4bccd77849e2d936f92c0463248d3d0ffb8b16e2 Mon Sep 17 00:00:00 2001 From: Grant Miller Date: Mon, 2 May 2022 15:14:49 -0500 Subject: [PATCH] stm32/adc/v4: Fix log statement --- embassy-stm32/src/adc/v4.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/adc/v4.rs b/embassy-stm32/src/adc/v4.rs index 11df9677..99326f38 100644 --- a/embassy-stm32/src/adc/v4.rs +++ b/embassy-stm32/src/adc/v4.rs @@ -339,7 +339,7 @@ impl<'d, T: Instance + crate::rcc::RccPeripheral> Adc<'d, T> { } let frequency = Hertz(T::frequency().0 / prescaler.divisor()); - defmt::info!("ADC frequency set to {} Hz", frequency.0); + info!("ADC frequency set to {} Hz", frequency.0); if frequency > 50.mhz().into() { panic!("Maximal allowed frequency for the ADC is 50 MHz and it varies with different packages, refer to ST docs for more information.");