allow sim to shutdown while 'charging'

Change-Id: I28a9312d1ce6bf68d8ee6fc2cca680047bfec810
This commit is contained in:
William Wilgus 2021-12-11 02:10:02 -05:00 committed by William Wilgus
parent 68ed534f83
commit 8060c79775

View file

@ -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