Skip to content

Commit aed882d

Browse files
committed
stm32/modpyb: Fix unnamed arguments in pyb country implementation.
Signed-off-by: Damien George <damien@micropython.org>
1 parent aa48147 commit aed882d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ports/stm32/modpyb.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ MP_DECLARE_CONST_FUN_OBJ_VAR_BETWEEN(mod_network_country_obj);
119119
#else
120120
// Provide a no-op version of pyb.country for backwards compatibility on
121121
// boards that don't support networking.
122-
STATIC mp_obj_t pyb_country(size_t, const mp_obj_t *) {
122+
STATIC mp_obj_t pyb_country(size_t n_args, const mp_obj_t *args) {
123+
(void)n_args;
124+
(void)args;
123125
return mp_const_none;
124126
}
125127
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mod_network_country_obj, 0, 1, pyb_country);

0 commit comments

Comments
 (0)