aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-07-18 23:59:32 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-07-18 23:59:32 -0400
commitbb2489f0bede32ee6cce9e21508adfadb7e18f5e (patch)
tree6454bda7ec00ce88feaf32bdfd74ad30ca5bdea4 /libmaple
parent214c47673dc6581952b548346322e9c92198329f (diff)
downloadlibrambutan-bb2489f0bede32ee6cce9e21508adfadb7e18f5e.tar.gz
librambutan-bb2489f0bede32ee6cce9e21508adfadb7e18f5e.zip
timer.c: Fix off-by-one error in NR_GEN_HANDLERS.
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/timer.c b/libmaple/timer.c
index 220a543..367e1f4 100644
--- a/libmaple/timer.c
+++ b/libmaple/timer.c
@@ -40,7 +40,7 @@
* [7] = BRK. */
#define NR_ADV_HANDLERS 8
/* Update, capture/compare 1,2,3,4; <junk>; trigger. */
-#define NR_GEN_HANDLERS 6
+#define NR_GEN_HANDLERS 7
/* Update only. */
#define NR_BAS_HANDLERS 1