File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(wifi_radio_stop_ap_obj, wifi_radio_stop_ap);
304
304
//| *,
305
305
//| channel: Optional[int] = 0,
306
306
//| bssid: Optional[ReadableBuffer] = b"",
307
- //| timeout: Optional[float] = None) -> bool :
307
+ //| timeout: Optional[float] = None) -> None :
308
308
//| """Connects to the given ssid and waits for an ip address. Reconnections are handled
309
309
//| automatically once one connection succeeds.
310
310
//|
@@ -507,7 +507,7 @@ const mp_obj_property_t wifi_radio_ap_info_obj = {
507
507
MP_ROM_NONE },
508
508
};
509
509
510
- //| def ping(self, ip: ipaddress.IPv4Address, *, timeout: Optional[float] = 0.5) -> float:
510
+ //| def ping(self, ip: ipaddress.IPv4Address, *, timeout: Optional[float] = 0.5) -> Optional[ float] :
511
511
//| """Ping an IP to test connectivity. Returns echo time in seconds.
512
512
//| Returns None when it times out."""
513
513
//| ...
You can’t perform that action at this time.
0 commit comments