From 0b20038d871be393a853864a3e6e3d2ff489860f Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 1 Apr 2021 06:54:02 -0400 Subject: FiiO M3K: Hopefully fix the sim build Change-Id: If5a58a4b3913645068cee95d4553f285eb55d182 --- firmware/export/config/fiiom3k.h | 5 +++-- 1 file 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 -- cgit v1.2.3