From ef8bfb38a1bf4849c1d76a5b1c17d91c5426eda3 Mon Sep 17 00:00:00 2001
From: Oleg Hahm <oleg@hobbykeller.org>
Date: Thu, 20 Mar 2014 23:11:38 +0100
Subject: [PATCH] msp430: show overflow counter in hwtimer debug

---
 cpu/msp430-common/hwtimer_cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpu/msp430-common/hwtimer_cpu.c b/cpu/msp430-common/hwtimer_cpu.c
index c1dedf6a80..9996d8016d 100644
--- a/cpu/msp430-common/hwtimer_cpu.c
+++ b/cpu/msp430-common/hwtimer_cpu.c
@@ -60,7 +60,7 @@ static void timer_set_nostart(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_enable_interrupt(timer);
 }
-- 
GitLab