Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
c0711cbe
Commit
c0711cbe
authored
Jun 15, 2014
by
Damien George
Browse files
stmhal: Fix type signatures on functions that take variable args.
parent
e79c6696
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/lcd.c
View file @
c0711cbe
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment