summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-01-21 08:09:48 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-01-21 12:03:23 -0500
commitc6299b268da0599c2bbce3e71efb5398ffd0a808 (patch)
tree6eb097f0d66b27f8524b5471d56e5460cdc4a0a5 /firmware/export/config.h
parent15e1f592de7d91b208b83425d3c8b12496b30b89 (diff)
downloadrockbox-c6299b268da0599c2bbce3e71efb5398ffd0a808.tar.gz
rockbox-c6299b268da0599c2bbce3e71efb5398ffd0a808.zip
action.c must desist in calling set_cpu_frequency from a tick
The function is neither reentrant nor ISR callable. Instead of using a ticked-based timeout, have the button driver provide the unboost after a delay when waiting for a button. HAVE_GUI_BOOST gets immediate boost after dequeuing any message, otherwise the queue has to have at least three messages waiting for it to trigger a boost-- essentially the behavior that existed but now combined in one place. Change-Id: I1d924702840f56a1a65abe41fa92b4e753c4e75a
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 73464526a6..e7cfc698df 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -1129,11 +1129,6 @@ Lyre prototype 1 */
1129#define INCLUDE_TIMEOUT_API 1129#define INCLUDE_TIMEOUT_API
1130#endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */ 1130#endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */
1131 1131
1132#if defined(HAVE_GUI_BOOST) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
1133/* Timeout objects required if GUI boost is enabled */
1134#define INCLUDE_TIMEOUT_API
1135#endif /* HAVE_GUI_BOOST && HAVE_ADJUSTABLE_CPU_FREQ */
1136
1137#ifndef SIMULATOR 1132#ifndef SIMULATOR
1138#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND) 1133#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND)
1139#define STORAGE_GET_INFO 1134#define STORAGE_GET_INFO