-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update/arrayiffy cmd split #2287
Conversation
@@ -29,13 +32,13 @@ | |||
|
|||
if (stat != Fw::FW_SERIALIZE_OK) { | |||
// Let the local command dispatcher deal with it | |||
this->LocalCmd_out(0, data, context); | |||
this->LocalCmd_out(portNum, data, context); |
Check warning
Code scanning / CodeQL
Unchecked function argument
if (cmdPkt.getOpCode() < CMD_SPLITTER_REMOTE_OPCODE_BASE) { | ||
this->LocalCmd_out(0, data, context); | ||
if (cmdPkt.getOpCode() < this->m_remoteBase) { | ||
this->LocalCmd_out(portNum, data, context); |
Check warning
Code scanning / CodeQL
Unchecked function argument
} else { | ||
this->RemoteCmd_out(0, data, context); | ||
this->RemoteCmd_out(portNum, data, context); |
Check warning
Code scanning / CodeQL
Unchecked function argument
@@ -19,6 +18,10 @@ | |||
|
|||
CmdSplitter ::~CmdSplitter() {} | |||
|
|||
void CmdSplitter ::configure(FwOpcodeType remoteBaseOpcode) { | |||
this->m_remoteBase = remoteBaseOpcode; |
Check warning
Code scanning / CodeQL
Unchecked function argument
c0f94ef
to
12ec38e
Compare
12ec38e
to
6c51f61
Compare
Change Description
Make command splitter support multiple command sources as command dispatcher does.