From 464889ecee639379b7fc75c45e9b8710deb57eb0 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sun, 25 Sep 2022 12:20:28 +0100 Subject: Fix red in e75a3fb8 Change-Id: I2e98f68d03df757688b6c556b69d934c12f40a7c --- firmware/export/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware') diff --git a/firmware/export/config.h b/firmware/export/config.h index a640a47b9c..5cb89ed15a 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -1181,6 +1181,11 @@ Lyre prototype 1 */ #define INCLUDE_TIMEOUT_API #endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */ +#if defined(USB_STATUS_BY_EVENT) && defined(HAVE_USBSTACK) +/* Status by event requires timeout for debouncing */ +# define INCLUDE_TIMEOUT_API +#endif + #ifndef SIMULATOR #if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND) || (CONFIG_STORAGE & STORAGE_RAMDISK) #define STORAGE_GET_INFO -- cgit v1.2.3