summaryrefslogtreecommitdiff
path: root/firmware/src/os/tc_cdiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/os/tc_cdiv.c')
-rw-r--r--firmware/src/os/tc_cdiv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/src/os/tc_cdiv.c b/firmware/src/os/tc_cdiv.c
index 99a0975..6f06ba5 100644
--- a/firmware/src/os/tc_cdiv.c
+++ b/firmware/src/os/tc_cdiv.c
@@ -80,7 +80,7 @@ void tc_cdiv_init(void)
AT91C_TC_ACPA_SET | AT91C_TC_ACPC_CLEAR |
AT91C_TC_BEEVT_SET | AT91C_TC_BCPB_CLEAR |
AT91C_TC_EEVT_XC2 | AT91C_TC_ETRGEDG_RISING |
- AT91C_TC_BSWTRG_CLEAR; /* clear on swtrg */
+ AT91C_TC_BSWTRG_CLEAR | AT91C_TC_ASWTRG_CLEAR;
tc_cdiv_set_divider(128);
personal git repositories of Harald Welte. Your mileage may vary