chonky #670
@ -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);
|
||||||
meggert marked this conversation as resolved
|
|||||||
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
is the MIB prepared for this?
v2.0.0-dev is being prepared for this