comparison: src/eric7/MicroPython/Devices/RP2040Devices.py
src/eric7/MicroPython/Devices/RP2040Devices.py
- branch
- mpy_network
- changeset 9870
- 0399d3607829
- parent 9868
- 467288cffee2
- child 9878
- a82014a9e57b
equal
deleted
inserted
replaced
1182 """ |
1182 """ |
1183 Public method to check the availability of network time functions. |
1183 Public method to check the availability of network time functions. |
1184 |
1184 |
1185 @return flag indicating the availability of network time functions |
1185 @return flag indicating the availability of network time functions |
1186 @rtype bool |
1186 @rtype bool |
|
1187 @exception OSError raised to indicate an issue with the device |
1187 """ |
1188 """ |
1188 command = """ |
1189 command = """ |
1189 def has_ntp(): |
1190 def has_ntp(): |
1190 try: |
1191 try: |
1191 import ntptime |
1192 import ntptime |