We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ac696e commit ace25e8Copy full SHA for ace25e8
shared-module/vectorio/VectorShape.c
@@ -278,7 +278,7 @@ void common_hal_vectorio_vector_shape_set_location(vectorio_vector_shape_t *self
278
mp_arg_validate_length(tuple_len, 2, MP_QSTR_location);
279
280
mp_int_t x = mp_arg_validate_type_int(tuple_items[0], MP_QSTR_x);
281
- mp_int_t y = mp_arg_validate_type_int(tuple_items[0], MP_QSTR_y);
+ mp_int_t y = mp_arg_validate_type_int(tuple_items[1], MP_QSTR_y);
282
bool dirty = false;
283
if (self->x != x) {
284
check_bounds_and_set_x(self, x);
0 commit comments