Skip to content

Commit 1d00467

Browse files
committed
fixes some more errors.
1 parent 42ba1b3 commit 1d00467

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

micropy_updates/esp32/machine_i2c.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,10 @@
561561

562562
static mp_obj_t i2c_device_write(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args)
563563
{
564-
enum { ARG_self, ARG_num_bytes, ARG_buf };
564+
enum { ARG_self, ARG_buf };
565565
static const mp_arg_t allowed_args[] = {
566-
{ MP_QSTR_self, MP_ARG_OBJ | MP_ARG_REQUIRED },
567-
{ MP_QSTR_buf, MP_ARG_OBJ | MP_ARG_REQUIRED },
566+
{ MP_QSTR_self, MP_ARG_OBJ | MP_ARG_REQUIRED },
567+
{ MP_QSTR_buf, MP_ARG_OBJ | MP_ARG_REQUIRED }
568568
};
569569
mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)];
570570
mp_arg_parse_all(n_args, pos_args, kw_args, MP_ARRAY_SIZE(allowed_args), allowed_args, args);

0 commit comments

Comments
 (0)