From cdc3113c325b758bc2432fc844eb2d619f696170 Mon Sep 17 00:00:00 2001 From: Albin Hedman Date: Sun, 15 Dec 2024 17:29:20 +0100 Subject: [PATCH] Remove foo --- src/gpio.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gpio.rs b/src/gpio.rs index 8887b90d..e1dfe482 100644 --- a/src/gpio.rs +++ b/src/gpio.rs @@ -777,11 +777,6 @@ macro_rules! gpio_trait { }; } -fn foo(x: crate::pac::gpioa::RegisterBlock, n: u8) { - x.bsrr().write(|w| w.br(n).set_bit()); - x.odr().read().odr(n).is_low(); -} - /// Implement `private::{Moder, Ospeedr, Otyper, Pupdr}` traits for each opaque register structs macro_rules! r_trait { (