From c4b3488f7ff747da776310ef0f9099329b5a069e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schulz-Andres?= <joel@systemscape.de> Date: Fri, 24 May 2024 14:12:01 +0200 Subject: [PATCH] Add body to match statement --- embassy-stm32/src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/macros.rs b/embassy-stm32/src/macros.rs index 2458d089f..2d3040b08 100644 --- a/embassy-stm32/src/macros.rs +++ b/embassy-stm32/src/macros.rs @@ -110,7 +110,7 @@ macro_rules! new_pin { // for gpio_v1 match $aftype { crate::gpio::AFType::Input => {}, - _ => pin.set_speed($speed); + _ => {pin.set_speed($speed);}, }; Some(pin.map_into()) }};