object factory changes

This commit is contained in:
2023-10-09 15:21:38 +02:00
parent 706c5be7f7
commit 25a5e187f6
2 changed files with 12 additions and 10 deletions

View File

@ -147,6 +147,7 @@ void ObjectFactory::produce(void* args) {
#if OBSW_ADD_BPX_BATTERY_HANDLER == 1
createBpxBatteryComponent(enableHkSets, battAndImtqI2cDev);
#endif
createPowerController(true, enableHkSets);
#if OBSW_ADD_STAR_TRACKER == 1
createStrComponents(pwrSwitcher);
@ -178,7 +179,6 @@ void ObjectFactory::produce(void* args) {
power::Switches::PDU1_CH5_SOLAR_CELL_EXP_5V);
#endif
createAcsController(true, enableHkSets);
createPowerController(true, enableHkSets);
HeaterHandler* heaterHandler;
createHeaterComponents(gpioComIF, pwrSwitcher, healthTable, heaterHandler);
createThermalController(*heaterHandler, true);