From c0711cbefa6a54b35c23c64f63c13dd3e78b25da Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 15 Jun 2014 09:32:42 +0100 Subject: [PATCH] stmhal: Fix type signatures on functions that take variable args. --- stmhal/lcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stmhal/lcd.c b/stmhal/lcd.c index 6d55448409..e75fb8f359 100644 --- a/stmhal/lcd.c +++ b/stmhal/lcd.c @@ -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) { } STATIC MP_DEFINE_CONST_FUN_OBJ_3(pyb_lcd_get_obj, pyb_lcd_get); -STATIC mp_obj_t pyb_lcd_pixel(uint n_args, const mp_obj_t *args, mp_map_t *kw_args) { +STATIC mp_obj_t pyb_lcd_pixel(uint n_args, const mp_obj_t *args) { pyb_lcd_obj_t *self = args[0]; int x = mp_obj_get_int(args[1]); 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 } STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(pyb_lcd_pixel_obj, 4, 4, pyb_lcd_pixel); -STATIC mp_obj_t pyb_lcd_text(uint n_args, const mp_obj_t *args, mp_map_t *kw_args) { +STATIC mp_obj_t pyb_lcd_text(uint n_args, const mp_obj_t *args) { // extract arguments pyb_lcd_obj_t *self = args[0]; uint len;