Skip to content

Commit

Permalink
Remove foo
Browse files Browse the repository at this point in the history
  • Loading branch information
usbalbin committed Dec 15, 2024
1 parent 42ac0f1 commit cdc3113
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
(
Expand Down

0 comments on commit cdc3113

Please sign in to comment.