summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-21 18:19:50 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-21 18:19:50 +0100
commit6691c9e655c7ce98cb80a6629f890881e6c24f1a (patch)
tree86ebedaf71be7e7e1cb163130530014123bde7ba
parent7fdfa93700e0f5a5381a57bca3c45865c720dc2f (diff)
downloadmicropython-6691c9e655c7ce98cb80a6629f890881e6c24f1a.tar.gz
micropython-6691c9e655c7ce98cb80a6629f890881e6c24f1a.zip
stmhal, timer: Remove obsolete global variable.
-rw-r--r--stmhal/timer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/stmhal/timer.c b/stmhal/timer.c
index 88ac6c7357..bd70eaa870 100644
--- a/stmhal/timer.c
+++ b/stmhal/timer.c
@@ -354,9 +354,6 @@ mp_obj_t pyb_timer_period(uint n_args, const mp_obj_t *args) {
}
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(pyb_timer_period_obj, 1, 2, pyb_timer_period);
-// TIM6 is used as an internal interrupt to schedule something at a specific rate
-mp_obj_t timer_py_callback;
-
STATIC mp_obj_t pyb_timer_callback(mp_obj_t self_in, mp_obj_t callback) {
pyb_timer_obj_t *self = self_in;
if (callback == mp_const_none) {