update doc per review

This commit is contained in:
Dan Halbert 2020-12-03 22:05:02 -05:00
parent 57fa6bece8
commit 2f0e676fcb
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@
//|
//| enabled: bool
//| """True when the wifi radio is enabled."""
//| """``True`` when the wifi radio is enabled.
//| If you set the value to ``False``, any open sockets will be closed.
//| """
//|
STATIC mp_obj_t wifi_radio_get_enabled(mp_obj_t self) {
return mp_obj_new_bool(common_hal_wifi_radio_get_enabled(self));