[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rockbox-cvs
Subject:    Fix red in e75a3fb8
From:       rockbox-gerrit-noreply--- via rockbox-cvs <rockbox-cvs () lists ! haxx ! se>
Date:       2022-09-25 11:22:55
Message-ID: 202209251122.28PBMtAQ787111 () archos ! rockbox ! org
[Download RAW message or body]

commit 464889ecee639379b7fc75c45e9b8710deb57eb0
Author: Aidan MacDonald <amachronic@protonmail.com>
Date:   Sun Sep 25 12:20:28 2022 +0100

    Fix red in e75a3fb8
    
    Change-Id: I2e98f68d03df757688b6c556b69d934c12f40a7c

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
-- 
rockbox-cvs mailing list
rockbox-cvs@lists.haxx.se
https://lists.haxx.se/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic