diff options
| author | Paul Sokolovsky | 2017-01-04 16:10:42 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2017-01-04 16:10:42 +0300 |
| commit | eac22e29a5844e5aa5c865c2e73900e6ef039ad6 (patch) | |
| tree | eb6061370af9e70c7d7f155ce39869251a8c1930 /cc3200/misc | |
| parent | c3f70c603efcb053810dbee8d5cc9f23ed62d01f (diff) | |
all: Consistently update signatures of .make_new and .call methods.
Otherwise, they serve reoccurring source of copy-paste mistakes and
breaking nanbox build.
Diffstat (limited to 'cc3200/misc')
| -rw-r--r-- | cc3200/misc/mpirq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/misc/mpirq.c b/cc3200/misc/mpirq.c index 4389ab0c3..be5746759 100644 --- a/cc3200/misc/mpirq.c +++ b/cc3200/misc/mpirq.c @@ -176,7 +176,7 @@ STATIC mp_obj_t mp_irq_flags (mp_obj_t self_in) { } STATIC MP_DEFINE_CONST_FUN_OBJ_1(mp_irq_flags_obj, mp_irq_flags); -STATIC mp_obj_t mp_irq_call (mp_obj_t self_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) { +STATIC mp_obj_t mp_irq_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args) { mp_arg_check_num(n_args, n_kw, 0, 0, false); mp_irq_handler (self_in); return mp_const_none; |
