File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ MP_PROPERTY_GETSET(wifi_radio_tx_power_obj,
187
187
(mp_obj_t )& wifi_radio_set_tx_power_obj );
188
188
189
189
//| 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."""
191
191
static mp_obj_t wifi_radio_get_listen_interval (mp_obj_t self_in ) {
192
192
#if CIRCUITPY_WIFI_RADIO_SETTABLE_LISTEN_INTERVAL
193
193
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
204
204
wifi_radio_obj_t * self = MP_OBJ_TO_PTR (self_in );
205
205
common_hal_wifi_radio_set_listen_interval (self , listen_interval );
206
206
#else
207
- mp_raise_NotImplementedError (MP_ERROR_TEXT ( "can't set attribute" ) );
207
+ mp_raise_NotImplementedError (NULL );
208
208
#endif
209
209
return mp_const_none ;
210
210
}
You can’t perform that action at this time.
0 commit comments