that should fix some issues
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good
This commit is contained in:
parent
23625b2496
commit
f4523c8396
@ -595,8 +595,8 @@ ReturnValue_t GomspaceDeviceHandler::parsePduHkTable(PDU::PduCoreHk& coreHk, PDU
|
|||||||
for (uint8_t idx = 0; idx < PDU::CHANNELS_LEN; idx++) {
|
for (uint8_t idx = 0; idx < PDU::CHANNELS_LEN; idx++) {
|
||||||
coreHk.voltages[idx] = as<uint16_t>(packet + 0x12 + (idx * 2));
|
coreHk.voltages[idx] = as<uint16_t>(packet + 0x12 + (idx * 2));
|
||||||
}
|
}
|
||||||
auxHk.vcc.value = as<int16_t>(packet + 0x24);
|
coreHk.vcc.value = as<int16_t>(packet + 0x24);
|
||||||
auxHk.vbat.value = as<int16_t>(packet + 0x26);
|
coreHk.vbat.value = as<int16_t>(packet + 0x26);
|
||||||
coreHk.temperature = as<int16_t>(packet + 0x28) * 0.1;
|
coreHk.temperature = as<int16_t>(packet + 0x28) * 0.1;
|
||||||
|
|
||||||
for (uint8_t idx = 0; idx < 3; idx++) {
|
for (uint8_t idx = 0; idx < 3; idx++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user