start using new packet format
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
#include "mission/utility/Timestamp.h"
|
||||
|
||||
using namespace returnvalue;
|
||||
using namespace supv;
|
||||
|
||||
PlocSupvHelper::PlocSupvHelper(object_id_t objectId)
|
||||
: SystemObject(objectId),
|
||||
@ -498,7 +499,8 @@ ReturnValue_t PlocSupvHelper::selectMemory() {
|
||||
ReturnValue_t PlocSupvHelper::prepareUpdate() {
|
||||
ReturnValue_t result = returnvalue::OK;
|
||||
resetSpParams();
|
||||
supv::ApidOnlyPacket packet(spParams, supv::APID_PREPARE_UPDATE);
|
||||
supv::NoPayloadPacket packet(spParams, supv::APID_BOOT_MAN,
|
||||
static_cast<uint8_t>(BootManServiceIds::PREPARE_UPDATE));
|
||||
result = packet.buildPacket();
|
||||
if (result != returnvalue::OK) {
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user