summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2021-12-11 02:10:02 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2021-12-11 09:59:39 -0500
commit8060c797752c3addbaa8c75e84721fbd3127860f (patch)
treee21077c455e32d5998a985a26c90739db52db978 /firmware/export
parent68ed534f83f0f294d17d1204eb4903eb1eddbc6c (diff)
downloadrockbox-8060c797752c3addbaa8c75e84721fbd3127860f.tar.gz
rockbox-8060c797752c3addbaa8c75e84721fbd3127860f.zip
allow sim to shutdown while 'charging'
Change-Id: I28a9312d1ce6bf68d8ee6fc2cca680047bfec810
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 277a1d8632..17bc626a80 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -611,6 +611,9 @@ Lyre prototype 1 */
/* keep this include after the target configs */
#ifdef SIMULATOR
#include "config/sim.h"
+#ifndef HAVE_POWEROFF_WHILE_CHARGING
+ #define HAVE_POWEROFF_WHILE_CHARGING
+#endif
#endif
#ifndef CONFIG_PLATFORM