Merge branch 'update_rp2040_arduino_pico_5_5_0' into integration

This commit is contained in:
J. Nick Koston
2026-02-26 11:42:09 -10:00

View File

@@ -24,8 +24,11 @@ static bool s_sta_had_ip = false; // NOLINT(cppcoreguidelines-avoid-non-
static size_t s_scan_result_count = 0; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
bool WiFiComponent::wifi_mode_(optional<bool> sta, optional<bool> ap) {
// STA mode is enabled by WiFi.beginNoBlock() via cyw43_arch_enable_sta_mode(),
// so we don't need to call cyw43_wifi_set_up() directly for STA.
if (sta.has_value()) {
if (sta.value()) {
cyw43_wifi_set_up(&cyw43_state, CYW43_ITF_STA, true, CYW43_COUNTRY_WORLDWIDE);
}
}
bool ap_state = false;
if (ap.has_value()) {