Well spotted. Works perfectly on the Pico W, LED flashing, no hangs, with my code changed to -What about this one ?
cyw43_is_initialized
static bool cyw43_is_initialized (cyw43_t * self) [inline], [static]
Code:
bool WiFiIsAvailable(void) { return cyw43_is_initialized(&cyw43_state);}D'oh! : I might have to copy more in from the code I cloned so it doesn't leave things in an odd state which may be what's causing the Pico W to crash and burn. I've been too focused on making it work for the Pico !
Statistics: Posted by hippy — Wed Apr 23, 2025 5:42 pm