Skip to content

Commit 6691c9e

Browse files
committed
stmhal, timer: Remove obsolete global variable.
1 parent 7fdfa93 commit 6691c9e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

stmhal/timer.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,6 @@ mp_obj_t pyb_timer_period(uint n_args, const mp_obj_t *args) {
354354
}
355355
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(pyb_timer_period_obj, 1, 2, pyb_timer_period);
356356

357-
// TIM6 is used as an internal interrupt to schedule something at a specific rate
358-
mp_obj_t timer_py_callback;
359-
360357
STATIC mp_obj_t pyb_timer_callback(mp_obj_t self_in, mp_obj_t callback) {
361358
pyb_timer_obj_t *self = self_in;
362359
if (callback == mp_const_none) {

0 commit comments

Comments
 (0)