The unified diff between revisions [81e4dce2..] and [7f3278b1..] 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 [7f3278b164104bb0564a391a1f7b4fd955a3904a] # # 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)