summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsw23 <sw23@users.noreply.github.com>2020-10-30 01:29:58 -0400
committersw23 <sw23@users.noreply.github.com>2020-10-30 01:29:58 -0400
commit9f3a1fe27b9f29771b87a4d5eb1914075d2b1e3a (patch)
treed5df7edc63c4d5663b6c244ffc01bba9e612b128
parentad166ca479f405a9cb43fae9fe7b082d2e6ba19f (diff)
Fixing stub for wifi_radio_ping
-rw-r--r--shared-bindings/wifi/Radio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/wifi/Radio.c b/shared-bindings/wifi/Radio.c
index a56ca5aaa..e81e8793c 100644
--- a/shared-bindings/wifi/Radio.c
+++ b/shared-bindings/wifi/Radio.c
@@ -283,7 +283,7 @@ const mp_obj_property_t wifi_radio_ap_info_obj = {
(mp_obj_t)&mp_const_none_obj },
};
-//| def ping(self, ip: wifi.Radio, *, timeout: float = 0.5) -> float:
+//| def ping(self, ip: ipaddress.IPv4Address, *, timeout: Optional[float] = 0.5) -> float:
//| """Ping an IP to test connectivity. Returns echo time in seconds.
//| Returns None when it times out."""
//| ...