diff options
author | Damien George <damien.p.george@gmail.com> | 2014-06-15 09:32:42 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-06-15 09:32:42 +0100 |
commit | c0711cbefa6a54b35c23c64f63c13dd3e78b25da (patch) | |
tree | bdfb38b71fa6ca2b851568aa14f74da7315e9c08 /stmhal/lcd.c | |
parent | e79c6696c59e253235f1da1f8d306273b5d215e0 (diff) | |
download | micropython-c0711cbefa6a54b35c23c64f63c13dd3e78b25da.tar.gz micropython-c0711cbefa6a54b35c23c64f63c13dd3e78b25da.zip |
stmhal: Fix type signatures on functions that take variable args.
Diffstat (limited to 'stmhal/lcd.c')
-rw-r--r-- | stmhal/lcd.c | 4 |
1 files 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; |