@@ -172,7 +172,7 @@ STATIC const mp_obj_property_t canio_can_receive_error_count_obj = {
172
172
};
173
173
174
174
//| state: State
175
- //| """The current state of the bus."""
175
+ //| """The current state of the bus. (read-only) """
176
176
STATIC mp_obj_t canio_can_state_get (mp_obj_t self_in ) {
177
177
canio_can_obj_t * self = MP_OBJ_TO_PTR (self_in );
178
178
common_hal_canio_can_check_for_deinit (self );
@@ -256,7 +256,8 @@ STATIC mp_obj_t canio_can_listen(size_t n_args, const mp_obj_t *pos_args, mp_map
256
256
MP_DEFINE_CONST_FUN_OBJ_KW (canio_can_listen_obj , 1 , canio_can_listen );
257
257
258
258
//| loopback: bool
259
- //| """True if the device was created in loopback mode, False otherwise"""
259
+ //| """True if the device was created in loopback mode, False
260
+ //| otherwise (read-only)"""
260
261
//|
261
262
STATIC mp_obj_t canio_can_loopback_get (mp_obj_t self_in ) {
262
263
canio_can_obj_t * self = MP_OBJ_TO_PTR (self_in );
@@ -294,7 +295,8 @@ STATIC mp_obj_t canio_can_send(mp_obj_t self_in, mp_obj_t message_in) {
294
295
MP_DEFINE_CONST_FUN_OBJ_2 (canio_can_send_obj , canio_can_send );
295
296
296
297
//| silent: bool
297
- //| """True if the device was created in silent mode, False otherwise"""
298
+ //| """True if the device was created in silent mode, False
299
+ //| otherwise (read-only)"""
298
300
//|
299
301
STATIC mp_obj_t canio_can_silent_get (mp_obj_t self_in ) {
300
302
canio_can_obj_t * self = MP_OBJ_TO_PTR (self_in );
0 commit comments