This commit is contained in:
2022-02-03 12:02:25 +01:00
parent f47101c388
commit 344390da14
7 changed files with 264 additions and 278 deletions

View File

@ -161,8 +161,10 @@ void ObjectFactory::produce(void* args) {
BpxBatteryHandler* bpxHandler =
new BpxBatteryHandler(objects::BPX_BATT_HANDLER, objects::I2C_COM_IF, bpxI2cCookie);
#if OBSW_DEBUG_BPX_BATT == 1
bpxHandler->setStartUpImmediately();
bpxHandler->setToGoToNormalMode(true);
bpxHandler->setStartUpImmediately();
#else
static_cast<void>(bpxHandler);
#endif
#endif