From ffefe0c08bdeeab725ce5fc054b3add4e05a1f7f Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Mon, 29 Jun 2009 14:30:12 +0000 Subject: Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h Note : SH has TIMER_FREQ defined to CPU_FREQ, so any code wanting it must include #config.h before #cpu.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21560 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/tcc780x.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/export/tcc780x.h') diff --git a/firmware/export/tcc780x.h b/firmware/export/tcc780x.h index 3ff910fce7..5b37b40526 100644 --- a/firmware/export/tcc780x.h +++ b/firmware/export/tcc780x.h @@ -249,4 +249,8 @@ #define USB_NUM_ENDPOINTS 3 #define USB_DEVBSS_ATTR IBSS_ATTR +/* Timer frequency */ +/* Timer is based on PCK_TCT (set to 2Mhz in system.c) */ +#define TIMER_FREQ (2000000) + #endif -- cgit v1.2.3