start bpx batt immediately
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
but defer it until the com mode was set to i2c
This commit is contained in:
parent
a5881a238b
commit
d5bdc00abf
@ -175,12 +175,8 @@ void ObjectFactory::produce(void* args) {
|
||||
I2cCookie* bpxI2cCookie = new I2cCookie(addresses::BPX_BATTERY, 100, q7s::I2C_DEFAULT_DEV);
|
||||
BpxBatteryHandler* bpxHandler =
|
||||
new BpxBatteryHandler(objects::BPX_BATT_HANDLER, objects::I2C_COM_IF, bpxI2cCookie);
|
||||
#if OBSW_TEST_BPX_BATT == 1
|
||||
bpxHandler->setToGoToNormalMode(true);
|
||||
bpxHandler->setStartUpImmediately();
|
||||
#else
|
||||
static_cast<void>(bpxHandler);
|
||||
#endif
|
||||
//bpxHandler->setStartUpImmediately();
|
||||
//bpxHandler->setToGoToNormalMode(true);
|
||||
#endif
|
||||
|
||||
new FileSystemHandler(objects::FILE_SYSTEM_HANDLER);
|
||||
|
Loading…
x
Reference in New Issue
Block a user