Skip to content

Commit

Permalink
Fix compilation for ESP IDF 5.2.X
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jan 18, 2024
1 parent 0cc687b commit 4ac93ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wifi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ impl<'d> WifiDriver<'d> {
esp_idf_version_full = "5.1.1",
esp_idf_version_full = "5.1.2"
)))]
feature_caps: WIFI_FEATURE_CAPS,
feature_caps: WIFI_FEATURE_CAPS as _,
sta_disconnected_pm: WIFI_STA_DISCONNECTED_PM_ENABLED != 0,
// Available since ESP IDF V4.4.4+
#[cfg(any(
Expand Down

0 comments on commit 4ac93ab

Please sign in to comment.