Skip to content

Commit 52374ad

Browse files
author
Daniel Dunn
committed
Use the existing "can't set attribute" string
1 parent 42da6f9 commit 52374ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/wifi/Radio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ static mp_obj_t wifi_radio_set_listen_interval(mp_obj_t self_in, mp_obj_t listen
203203
wifi_radio_obj_t *self = MP_OBJ_TO_PTR(self_in);
204204
common_hal_wifi_radio_set_listen_interval(self, listen_interval);
205205
#else
206-
mp_raise_NotImplementedError(MP_ERROR_TEXT("Listen interval is not supported"));
206+
mp_raise_NotImplementedError(MP_ERROR_TEXT("can't set attribute"));
207207
#endif
208208
return mp_const_none;
209209
}

0 commit comments

Comments
 (0)