diff options
Diffstat (limited to 'firmware/target/arm/as3525/system-target.h')
-rw-r--r-- | firmware/target/arm/as3525/system-target.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/system-target.h b/firmware/target/arm/as3525/system-target.h index 1ccd3282db..d2cf99499d 100644 --- a/firmware/target/arm/as3525/system-target.h +++ b/firmware/target/arm/as3525/system-target.h | |||
@@ -27,7 +27,11 @@ | |||
27 | 27 | ||
28 | #include "clock-target.h" /* CPUFREQ_* are defined here */ | 28 | #include "clock-target.h" /* CPUFREQ_* are defined here */ |
29 | 29 | ||
30 | #ifdef HAVE_SCROLLWHEEL | 30 | /* We can use a interrupt-based mechanism on the fuzev2 */ |
31 | #define INCREASED_SCROLLWHEEL_POLLING \ | ||
32 | (defined(HAVE_SCROLLWHEEL) && (CONFIG_CPU == AS3525)) | ||
33 | |||
34 | #if INCREASED_SCROLLWHEEL_POLLING | ||
31 | /* let the timer interrupt twice as often for the scrollwheel polling */ | 35 | /* let the timer interrupt twice as often for the scrollwheel polling */ |
32 | #define KERNEL_TIMER_FREQ (TIMER_FREQ/2) | 36 | #define KERNEL_TIMER_FREQ (TIMER_FREQ/2) |
33 | #else | 37 | #else |