Skip to content

Commit 41246c9

Browse files
author
Daniel Dunn
committed
Suggested changes
1 parent 61201a3 commit 41246c9

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
@@ -187,7 +187,7 @@ MP_PROPERTY_GETSET(wifi_radio_tx_power_obj,
187187
(mp_obj_t)&wifi_radio_set_tx_power_obj);
188188

189189
//| listen_interval: int
190-
//| """Wifi power save listen interval power, in DTIM periods, or 100ms intervals if TWT is supported."""
190+
//| """Wifi power save listen interval, in DTIM periods, or 100ms intervals if TWT is supported."""
191191
static mp_obj_t wifi_radio_get_listen_interval(mp_obj_t self_in) {
192192
#if CIRCUITPY_WIFI_RADIO_SETTABLE_LISTEN_INTERVAL
193193
wifi_radio_obj_t *self = MP_OBJ_TO_PTR(self_in);
@@ -204,7 +204,7 @@ static mp_obj_t wifi_radio_set_listen_interval(mp_obj_t self_in, mp_obj_t listen
204204
wifi_radio_obj_t *self = MP_OBJ_TO_PTR(self_in);
205205
common_hal_wifi_radio_set_listen_interval(self, listen_interval);
206206
#else
207-
mp_raise_NotImplementedError(MP_ERROR_TEXT("can't set attribute"));
207+
mp_raise_NotImplementedError(NULL);
208208
#endif
209209
return mp_const_none;
210210
}

0 commit comments

Comments
 (0)