Skip to content

Commit

Permalink
Remove mask
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Jan 10, 2025
1 parent 2619dfc commit fe14309
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions esp-hal/src/gpio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,6 @@ pub trait Pin: Sealed {
/// GPIO number
fn number(&self) -> u8;

#[doc(hidden)]
fn mask(&self) -> u32 {
1 << (self.number() % 32)
}

/// Type-erase (degrade) this pin into an [`AnyPin`].
///
/// This converts pin singletons (`GpioPin<0>`, …), which are all different
Expand Down

0 comments on commit fe14309

Please sign in to comment.