SoC Calculator #754
@ -250,18 +250,6 @@ ReturnValue_t PowerController::updateEpsData() {
|
|||||||
PoolReadGuard pgP60(&p60CoreHk);
|
PoolReadGuard pgP60(&p60CoreHk);
|
||||||
results.push_back(pgP60.getReadResult());
|
results.push_back(pgP60.getReadResult());
|
||||||
}
|
}
|
||||||
{
|
|
||||||
PoolReadGuard pgPdu1(&pdu1CoreHk);
|
|
||||||
results.push_back(pgPdu1.getReadResult());
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PoolReadGuard pgPdu2(&pdu2CoreHk);
|
|
||||||
results.push_back(pgPdu2.getReadResult());
|
|
||||||
}
|
|
||||||
{
|
|
||||||
PoolReadGuard pgAcu(&acuCoreHk);
|
|
||||||
results.push_back(pgAcu.getReadResult());
|
|
||||||
}
|
|
||||||
for (const auto &result : results) {
|
for (const auto &result : results) {
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
return result;
|
return result;
|
||||||
|
@ -111,9 +111,6 @@ class PowerController : public ExtendedControllerBase, public ReceivesParameterM
|
|||||||
// HK Datasets for Calculation
|
// HK Datasets for Calculation
|
||||||
BpxBatteryHk bpxBatteryHk = BpxBatteryHk(objects::BPX_BATT_HANDLER);
|
BpxBatteryHk bpxBatteryHk = BpxBatteryHk(objects::BPX_BATT_HANDLER);
|
||||||
P60Dock::CoreHkSet p60CoreHk = P60Dock::CoreHkSet(objects::P60DOCK_HANDLER);
|
P60Dock::CoreHkSet p60CoreHk = P60Dock::CoreHkSet(objects::P60DOCK_HANDLER);
|
||||||
PDU1::Pdu1CoreHk pdu1CoreHk = PDU1::Pdu1CoreHk(objects::PDU1_HANDLER);
|
|
||||||
PDU2::Pdu2CoreHk pdu2CoreHk = PDU2::Pdu2CoreHk(objects::PDU2_HANDLER);
|
|
||||||
ACU::CoreHk acuCoreHk = ACU::CoreHk(objects::ACU_HANDLER);
|
|
||||||
// Output Dataset
|
// Output Dataset
|
||||||
pwrctrl::CoreHk pwrCtrlCoreHk;
|
pwrctrl::CoreHk pwrCtrlCoreHk;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user