From 41c035ed79abe1bb549e886f6a523ad6316d8277 Mon Sep 17 00:00:00 2001 From: Kirill Mikhailov Date: Thu, 19 Dec 2024 14:16:40 +0100 Subject: [PATCH] dumb 6 --- esp-hal/src/i2c/master/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp-hal/src/i2c/master/mod.rs b/esp-hal/src/i2c/master/mod.rs index eef7a88a5b..f044ac599a 100644 --- a/esp-hal/src/i2c/master/mod.rs +++ b/esp-hal/src/i2c/master/mod.rs @@ -138,7 +138,7 @@ pub enum ConfigError { impl core::error::Error for ConfigError {} impl core::fmt::Display for ConfigError { - fn fmt(&self, _f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { match self { ConfigError::InvalidFrequency => write!( f,