fix shape.set_boundary()

This commit is contained in:
foamyguy 2023-06-24 12:42:00 -05:00
parent 7e6825daf6
commit c4b57dc2fe
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ STATIC mp_obj_t displayio_shape_obj_set_boundary(size_t n_args, const mp_obj_t *
(void)n_args;
displayio_shape_t *self = MP_OBJ_TO_PTR(args[0]);
mp_int_t y = mp_arg_validate_type_int(args[1], MP_QSTR_y);
mp_int_t start_x = mp_arg_validate_type_int(args[1], MP_QSTR_start_x);
mp_int_t end_x = mp_arg_validate_type_int(args[1], MP_QSTR_end_x);
mp_int_t start_x = mp_arg_validate_type_int(args[2], MP_QSTR_start_x);
mp_int_t end_x = mp_arg_validate_type_int(args[3], MP_QSTR_end_x);
common_hal_displayio_shape_set_boundary(self, y, start_x, end_x);
return mp_const_none;