From 8060c797752c3addbaa8c75e84721fbd3127860f Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sat, 11 Dec 2021 02:10:02 -0500 Subject: [PATCH] allow sim to shutdown while 'charging' Change-Id: I28a9312d1ce6bf68d8ee6fc2cca680047bfec810 --- firmware/export/config.h | 3 +++ 1 file changed, 3 insertions(+) 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