as3525: Silence portability warning with GCC10+

Change-Id: I66ca05bd7b6029b7699d5534f82efe0c14da1291
This commit is contained in:
Solomon Peachy 2025-08-15 08:38:09 -04:00
parent 0781195c22
commit 5ecb5832e1

View file

@ -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 */