summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-09-25 12:20:28 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-09-25 12:23:40 +0100
commit464889ecee639379b7fc75c45e9b8710deb57eb0 (patch)
tree2d336d8ee481545c8bdc86dbd1ecb40a6dd7bfbf
parente75a3fb8c7ea947b54bde5567eb17c54124bb5b6 (diff)
downloadrockbox-464889ecee.tar.gz
rockbox-464889ecee.zip
Fix red in e75a3fb8
Change-Id: I2e98f68d03df757688b6c556b69d934c12f40a7c
-rw-r--r--firmware/export/config.h5
1 files changed, 5 insertions, 0 deletions
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