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