Skip to content

Commit

Permalink
Remove PIN for esp-idf v4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
thetek42 committed Dec 20, 2023
1 parent 9b11011 commit 2fd53ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wifi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2418,6 +2418,7 @@ impl TryFrom<&WpsConfig<'_>> for Newtype<esp_wps_config_t> {
Ok(Newtype(esp_wps_config_t {
wps_type: config.wps_type.as_raw_type(),
factory_info,
#[cfg(not(esp_idf_version_major = "4"))]
pin: config.wps_type.as_pin(),
}))
}
Expand Down

0 comments on commit 2fd53ac

Please sign in to comment.