Skip to content

Commit 3aa36ee

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 30c23a7 + f4872d3 commit 3aa36ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/wifi/Radio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(wifi_radio_stop_ap_obj, wifi_radio_stop_ap);
304304
//| *,
305305
//| channel: Optional[int] = 0,
306306
//| bssid: Optional[ReadableBuffer] = b"",
307-
//| timeout: Optional[float] = None) -> bool:
307+
//| timeout: Optional[float] = None) -> None:
308308
//| """Connects to the given ssid and waits for an ip address. Reconnections are handled
309309
//| automatically once one connection succeeds.
310310
//|
@@ -507,7 +507,7 @@ const mp_obj_property_t wifi_radio_ap_info_obj = {
507507
MP_ROM_NONE },
508508
};
509509

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]:
511511
//| """Ping an IP to test connectivity. Returns echo time in seconds.
512512
//| Returns None when it times out."""
513513
//| ...

0 commit comments

Comments
 (0)