Skip to content

Commit

Permalink
Avoid internal fn for OutputSignal conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Oct 12, 2024
1 parent 551a0b9 commit a00c046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-hal/src/gpio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ where
/// pin.
#[inline]
pub fn into_peripheral_output(self) -> interconnect::OutputSignal {
interconnect::OutputSignal::new(self.degrade_pin(private::Internal))
interconnect::OutputSignal::new(self.degrade())
}
}

Expand Down

0 comments on commit a00c046

Please sign in to comment.