File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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."""
191191static 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}
You can’t perform that action at this time.
0 commit comments