Skip to content
Snippets Groups Projects
Commit ef8bfb38 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

msp430: show overflow counter in hwtimer debug

parent e93b44e8
Branches
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ static void timer_set_nostart(unsigned long value, short timer) ...@@ -60,7 +60,7 @@ static void timer_set_nostart(unsigned long value, short timer)
static void timer_set(unsigned long value, short timer) static void timer_set(unsigned long value, short timer)
{ {
DEBUG("Setting timer %u to %lu\n", timer, value); DEBUG("Setting timer %u to %u overflows and %lu\n", timer, overflow_interrupt[timer], value);
timer_set_nostart(value, timer); timer_set_nostart(value, timer);
timer_enable_interrupt(timer); timer_enable_interrupt(timer);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment