summaryrefslogtreecommitdiff
path: root/cc3200/mods/pybtimer.c
diff options
context:
space:
mode:
authordanicampora <daniel@wipy.io>2016-02-21 21:28:19 +0100
committerdanicampora <daniel@wipy.io>2016-02-21 22:01:18 +0100
commit495e7cfebce63d0168852269f279c24373abdd3a (patch)
tree68cfea8ee24f4371dc5660df49145c5cbfe38ae3 /cc3200/mods/pybtimer.c
parentf5248a087ac5667c53b7eab0e874b517ddf53dae (diff)
cc3200: Improve robustness of WLAN during sleep modes.
Diffstat (limited to 'cc3200/mods/pybtimer.c')
-rw-r--r--cc3200/mods/pybtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/mods/pybtimer.c b/cc3200/mods/pybtimer.c
index 79dd9b5b9..65fc7195e 100644
--- a/cc3200/mods/pybtimer.c
+++ b/cc3200/mods/pybtimer.c
@@ -322,7 +322,7 @@ error:
nlr_raise(mp_obj_new_exception_msg(&mp_type_ValueError, mpexception_value_invalid_arguments));
}
-STATIC mp_obj_t pyb_timer_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) {
+STATIC mp_obj_t pyb_timer_make_new(const mp_obj_type_t *type, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) {
// check arguments
mp_arg_check_num(n_args, n_kw, 1, MP_OBJ_FUN_ARGS_MAX, true);