Skip to content

Commit cb3cfb4

Browse files
committed
removed delay before init of cyw43
1 parent 4ba872c commit cb3cfb4

File tree

1 file changed

+0
-6
lines changed
  • ports/raspberrypi/supervisor

1 file changed

+0
-6
lines changed

ports/raspberrypi/supervisor/port.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
#include "src/rp2_common/hardware_sync/include/hardware/sync.h"
4444
#include "src/rp2_common/hardware_timer/include/hardware/timer.h"
4545
#if CIRCUITPY_CYW43
46-
#include "py/mphal.h"
4746
#include "pico/cyw43_arch.h"
4847
#endif
4948
#include "src/common/pico_time/include/pico/time.h"
@@ -347,11 +346,6 @@ safe_mode_t port_init(void) {
347346
// Check brownout.
348347

349348
#if CIRCUITPY_CYW43
350-
// A small number of samples of pico w need an additional delay before
351-
// initializing the cyw43 chip. Delays inside cyw43_arch_init_with_country
352-
// are intended to meet the power on timing requirements, but apparently
353-
// are inadequate. We'll back off this long delay based on future testing.
354-
mp_hal_delay_ms(1000);
355349
// Change this as a placeholder as to how to init with country code.
356350
// Default country code is CYW43_COUNTRY_WORLDWIDE)
357351
if (cyw43_arch_init_with_country(PICO_CYW43_ARCH_DEFAULT_COUNTRY_CODE)) {

0 commit comments

Comments
 (0)