picow: Change init to use country code routine.....place holder for future improvements to allow country code setting.
This commit is contained in:
parent
851c2cd8cb
commit
11f1174658
@ -140,7 +140,9 @@ safe_mode_t port_init(void) {
|
||||
never_reset_pin_number(24);
|
||||
never_reset_pin_number(25);
|
||||
never_reset_pin_number(29);
|
||||
if (cyw43_arch_init()) {
|
||||
// Change this as a placeholder as to how to init with country code.
|
||||
// Default country code is CYW43_COUNTRY_WORLDWIDE)
|
||||
if (cyw43_arch_init_with_country(PICO_CYW43_ARCH_DEFAULT_COUNTRY_CODE)) {
|
||||
serial_write("WiFi init failed\n");
|
||||
} else {
|
||||
cyw_ever_init = true;
|
||||
|
Loading…
Reference in New Issue
Block a user