Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
elagil committed Jan 3, 2025
1 parent ec6520c commit 04a3098
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embassy-stm32/src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,8 @@ impl OutputType {
#[cfg(gpio_v1)]
const fn to_cnf_out(self) -> vals::CnfOut {
match self {
OutputType::PushPull => vals::CnfOut::ALTPUSH_PULL,
OutputType::OpenDrain => vals::CnfOut::ALTOPEN_DRAIN,
OutputType::PushPull => vals::CnfOut::ALT_PUSH_PULL,
OutputType::OpenDrain => vals::CnfOut::ALT_OPEN_DRAIN,
}
}

Expand Down

0 comments on commit 04a3098

Please sign in to comment.