1 parent 57fa6be commit 2f0e676Copy full SHA for 2f0e676
1 file changed
shared-bindings/wifi/Radio.c
@@ -48,7 +48,9 @@
48
//|
49
50
//| enabled: bool
51
-//| """True when the wifi radio is enabled."""
+//| """``True`` when the wifi radio is enabled.
52
+//| If you set the value to ``False``, any open sockets will be closed.
53
+//| """
54
55
STATIC mp_obj_t wifi_radio_get_enabled(mp_obj_t self) {
56
return mp_obj_new_bool(common_hal_wifi_radio_get_enabled(self));
0 commit comments