The unified diff between revisions [81e4dce2..] and [24d5b9f4..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'timer.c'

#
# old_revision [81e4dce274e79dd9187ed4bd182e1d6fc0fdfb37]
# new_revision [24d5b9f4dff9135787b198fe1127d9c1e3326b9c]
#
# patch "timer.c"
#  from [88939ba8fd01747c78fddeb6d82012af7d61da7a]
#    to [7f173b22d8e013f1c5ce08dfb04bb4cd59f5932c]
#
============================================================
--- timer.c	88939ba8fd01747c78fddeb6d82012af7d61da7a
+++ timer.c	7f173b22d8e013f1c5ce08dfb04bb4cd59f5932c
@@ -128,7 +128,7 @@ unsigned int timer_read(void)
 
 unsigned int timer_read(void)
 {
-	return TWREG(TC);
+	return T1WREG(TC);
 }
 
 void timer_delay_clocks(unsigned int clocks)