summaryrefslogtreecommitdiff
path: root/firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c')
-rw-r--r--firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c b/firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c
index d4e061a0c7..f9cb35f884 100644
--- a/firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c
+++ b/firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c
@@ -30,9 +30,9 @@
30/* cycles delayed = 30 + 7 * loops */ 30/* cycles delayed = 30 + 7 * loops */
31/* 100MHz = 10nS per cycle: LO:1300nS=130:14 HI:600nS=60:9 */ 31/* 100MHz = 10nS per cycle: LO:1300nS=130:14 HI:600nS=60:9 */
32/* 300MHz = 3.36nS per cycle: LO:1300nS=387:51 HI:600nS=179:21 */ 32/* 300MHz = 3.36nS per cycle: LO:1300nS=387:51 HI:600nS=179:21 */
33#define DELAY_LO do{int x;for(x=get_cpu_boost_counter()?51:14;x;x--);} while (0) 33#define DELAY_LO do{int x;for(x=51;x;x--);} while (0)
34#define DELAY do{int x;for(x=get_cpu_boost_counter()?35:10;x;x--);} while (0) 34#define DELAY do{int x;for(x=35;x;x--);} while (0)
35#define DELAY_HI do{int x;for(x=get_cpu_boost_counter()?21: 9;x;x--);} while (0) 35#define DELAY_HI do{int x;for(x=21;x;x--);} while (0)
36 36
37 37
38 38