Skip to content

Commit c0711cb

Browse files
committed
stmhal: Fix type signatures on functions that take variable args.
1 parent e79c669 commit c0711cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stmhal/lcd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ STATIC mp_obj_t pyb_lcd_get(mp_obj_t self_in, mp_obj_t x_in, mp_obj_t y_in) {
368368
}
369369
STATIC MP_DEFINE_CONST_FUN_OBJ_3(pyb_lcd_get_obj, pyb_lcd_get);
370370

371-
STATIC mp_obj_t pyb_lcd_pixel(uint n_args, const mp_obj_t *args, mp_map_t *kw_args) {
371+
STATIC mp_obj_t pyb_lcd_pixel(uint n_args, const mp_obj_t *args) {
372372
pyb_lcd_obj_t *self = args[0];
373373
int x = mp_obj_get_int(args[1]);
374374
int y = mp_obj_get_int(args[2]);
@@ -384,7 +384,7 @@ STATIC mp_obj_t pyb_lcd_pixel(uint n_args, const mp_obj_t *args, mp_map_t *kw_ar
384384
}
385385
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(pyb_lcd_pixel_obj, 4, 4, pyb_lcd_pixel);
386386

387-
STATIC mp_obj_t pyb_lcd_text(uint n_args, const mp_obj_t *args, mp_map_t *kw_args) {
387+
STATIC mp_obj_t pyb_lcd_text(uint n_args, const mp_obj_t *args) {
388388
// extract arguments
389389
pyb_lcd_obj_t *self = args[0];
390390
uint len;

0 commit comments

Comments
 (0)