We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abb09e4 commit 2dea8abCopy full SHA for 2dea8ab
Svc/FpySequencer/FpySequencerDirectives.cpp
@@ -289,7 +289,7 @@ Signal FpySequencer::getPrm_directiveHandler(const FpySequencer_GetPrmDirective&
289
290
Signal FpySequencer::cmd_directiveHandler(const FpySequencer_CmdDirective& directive, DirectiveError& error) {
291
Fw::ComBuffer cmdBuf;
292
- Fw::SerializeStatus stat = cmdBuf.serialize(Fw::ComPacketType::FW_PACKET_COMMAND);
+ Fw::SerializeStatus stat = cmdBuf.serialize(static_cast<FwPacketDescriptorType>(Fw::ComPacketType::FW_PACKET_COMMAND));
293
// TODO should I assert here? this really shouldn't fail, I should just add a static assert
294
// on com buf size and then assert here
295
if (stat != Fw::SerializeStatus::FW_SERIALIZE_OK) {
0 commit comments