We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 851c2cd commit 11f1174Copy full SHA for 11f1174
ports/raspberrypi/supervisor/port.c
@@ -140,7 +140,9 @@ safe_mode_t port_init(void) {
140
never_reset_pin_number(24);
141
never_reset_pin_number(25);
142
never_reset_pin_number(29);
143
- if (cyw43_arch_init()) {
+ // Change this as a placeholder as to how to init with country code.
144
+ // Default country code is CYW43_COUNTRY_WORLDWIDE)
145
+ if (cyw43_arch_init_with_country(PICO_CYW43_ARCH_DEFAULT_COUNTRY_CODE)) {
146
serial_write("WiFi init failed\n");
147
} else {
148
cyw_ever_init = true;
0 commit comments