summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-04-01 06:54:02 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-04-01 10:54:36 +0000
commit0b20038d871be393a853864a3e6e3d2ff489860f (patch)
treeed74e24ef8d9ecaa37ca272c922c95697e191e49
parent674c07d654d3ce626dd0972b83f9e687103882e0 (diff)
downloadrockbox-0b20038d871be393a853864a3e6e3d2ff489860f.tar.gz
rockbox-0b20038d871be393a853864a3e6e3d2ff489860f.zip
FiiO M3K: Hopefully fix the sim build
Change-Id: If5a58a4b3913645068cee95d4553f285eb55d182
-rw-r--r--firmware/export/config/fiiom3k.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/config/fiiom3k.h b/firmware/export/config/fiiom3k.h
index 1afdbdaa36..99285728a2 100644
--- a/firmware/export/config/fiiom3k.h
+++ b/firmware/export/config/fiiom3k.h
@@ -92,11 +92,12 @@
/* TODO: implement HAVE_RTC_ALARM */
/* Power management */
-#ifndef SIMULATOR
-#define HAVE_AXP173
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
#define CONFIG_CHARGING CHARGING_MONITOR
#define HAVE_SW_POWEROFF
+
+#ifndef SIMULATOR
+#define HAVE_AXP173
#define HAVE_POWEROFF_WHILE_CHARGING
#endif