Skip to content

Commit

Permalink
Make Pin a supertrait
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Jul 25, 2023
1 parent d7a8b9c commit ae8f04f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-hal-common/src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub enum RtcFunction {
Digital = 1,
}

pub trait RTCPin {
pub trait RTCPin: Pin {
fn rtc_number(&self) -> u8;
fn rtc_set_config(&mut self, input_enable: bool, mux: bool, func: RtcFunction);
fn rtcio_pad_hold(&mut self, enable: bool);
Expand Down

0 comments on commit ae8f04f

Please sign in to comment.