summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-11-13 18:00:28 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-11-13 18:00:28 +0000
commit169b3048e34c224bb5489572e9f30b3e5379d7aa (patch)
tree2e69e20e4592d477e70b81fc52d9e8deea977656 /firmware
parent36d7bbbb4e605f1df373282fbbcb3cfb0e15b464 (diff)
downloadrockbox-169b3048e34c224bb5489572e9f30b3e5379d7aa.tar.gz
rockbox-169b3048e34c224bb5489572e9f30b3e5379d7aa.zip
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
Diffstat (limited to 'firmware')
-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 65c27ce5e0..55a194817d 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -983,6 +983,11 @@ Lyre prototype 1 */
983#define INCLUDE_TIMEOUT_API 983#define INCLUDE_TIMEOUT_API
984#endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */ 984#endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */
985 985
986#if defined(HAVE_GUI_BOOST) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
987/* Timeout objects required if GUI boost is enabled */
988#define INCLUDE_TIMEOUT_API
989#endif /* HAVE_GUI_BOOST && HAVE_ADJUSTABLE_CPU_FREQ */
990
986#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND) 991#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND)
987#define STORAGE_GET_INFO 992#define STORAGE_GET_INFO
988#endif 993#endif