mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Use the timeout api for the gui boost implementation. This ensures that the CPU will be unboosted after the defined timeout, the former implementation could stay boosted in several situations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30975 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
36d7bbbb4e
commit
169b3048e3
2 changed files with 22 additions and 9 deletions
|
|
@ -983,6 +983,11 @@ Lyre prototype 1 */
|
|||
#define INCLUDE_TIMEOUT_API
|
||||
#endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */
|
||||
|
||||
#if defined(HAVE_GUI_BOOST) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
|
||||
/* Timeout objects required if GUI boost is enabled */
|
||||
#define INCLUDE_TIMEOUT_API
|
||||
#endif /* HAVE_GUI_BOOST && HAVE_ADJUSTABLE_CPU_FREQ */
|
||||
|
||||
#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND)
|
||||
#define STORAGE_GET_INFO
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue