Skip to content

Commit 6ecae6f

Browse files
authored
Update ntp_connection_manager.py
remove esp32spi for now (several incompatibilities with NTP implementation)
1 parent 0308e8a commit 6ecae6f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

examples/ntp_connection_manager.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,7 @@
3333
eth_cs = DigitalInOut(board.D10)
3434
radio = WIZNET5K(spi, eth_cs)
3535
except ImportError:
36-
from adafruit_esp32spi.adafruit_esp32spi import ESP_SPIcontrol
37-
38-
# adjust pins for the specific board...
39-
esp32_cs = DigitalInOut(board.ESP_CS)
40-
esp32_ready = DigitalInOut(board.ESP_BUSY)
41-
esp32_reset = DigitalInOut(board.ESP_RESET)
42-
radio = ESP_SPIcontrol(spi, esp32_cs, esp32_ready, esp32_reset)
36+
raise
4337

4438
# get the socket pool from connection manager
4539
socket = adafruit_connection_manager.get_radio_socketpool(radio)

0 commit comments

Comments
 (0)