src/eric7/MicroPython/Devices/RP2Devices.py

branch
eric7
changeset 11254
cdb56075b4bc
parent 11240
c48c615c04a3
child 11263
28f0ead11a82
equal deleted inserted replaced
11253:c906437939b3 11254:cdb56075b4bc
511 @exception OSError raised to indicate an issue with the device 511 @exception OSError raised to indicate an issue with the device
512 """ 512 """
513 # picowireless: 513 # picowireless:
514 # It seems to take up to 20 sec to detect, that no Pico Wireless Pack is 514 # It seems to take up to 20 sec to detect, that no Pico Wireless Pack is
515 # attached. Therefore the command will timeout before. 515 # attached. Therefore the command will timeout before.
516 if Preferences.getMicroPython("DisablePicowireless"): 516 if Preferences.getMicroPython("DisablePicowireless"): # noqa: Y-108
517 # Support for Pimoroni Pico Wireless Pack is disabled. 517 # Support for Pimoroni Pico Wireless Pack is disabled.
518 command = """ 518 command = """
519 def has_wifi(): 519 def has_wifi():
520 try: 520 try:
521 import network 521 import network

eric ide

mercurial