Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
6691c9e6
Commit
6691c9e6
authored
Apr 21, 2014
by
Damien George
Browse files
stmhal, timer: Remove obsolete global variable.
parent
7fdfa937
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/timer.c
View file @
6691c9e6
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment