mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
as3525: Silence portability warning with GCC10+
Change-Id: I66ca05bd7b6029b7699d5534f82efe0c14da1291
This commit is contained in:
parent
0781195c22
commit
5ecb5832e1
1 changed files with 5 additions and 2 deletions
|
@ -36,8 +36,11 @@ void kernel_device_init(void);
|
|||
#define STORAGE_WANTS_ALIGN
|
||||
|
||||
/* We can use a interrupt-based mechanism on the fuzev2 */
|
||||
#define INCREASED_SCROLLWHEEL_POLLING \
|
||||
(defined(HAVE_SCROLLWHEEL) && (CONFIG_CPU == AS3525))
|
||||
#if (defined(HAVE_SCROLLWHEEL) && (CONFIG_CPU == AS3525))
|
||||
#define INCREASED_SCROLLWHEEL_POLLING 1
|
||||
#else
|
||||
#define INCREASED_SCROLLWHEEL_POLLING 0
|
||||
#endif
|
||||
|
||||
#if INCREASED_SCROLLWHEEL_POLLING
|
||||
/* let the timer interrupt twice as often for the scrollwheel polling */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue