summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tcc780x/timer-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tcc780x/timer-target.h')
-rw-r--r--firmware/target/arm/tcc780x/timer-target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tcc780x/timer-target.h b/firmware/target/arm/tcc780x/timer-target.h
index 991d949447..10090ceddc 100644
--- a/firmware/target/arm/tcc780x/timer-target.h
+++ b/firmware/target/arm/tcc780x/timer-target.h
@@ -21,8 +21,8 @@
#ifndef TIMER_TARGET_H
#define TIMER_TARGET_H
-/* timers are based on XIN (12Mhz) */
-#define TIMER_FREQ (12000000)
+/* Timer is based on PCK_TCT (set to 2Mhz in system.c) */
+#define TIMER_FREQ (2000000)
bool __timer_set(long cycles, bool set);
bool __timer_register(void);