Skip to content

Conversation

@shivamdesai04
Copy link
Member

No description provided.

Jgerbrandt
Jgerbrandt previously approved these changes Jan 4, 2025
* INCLUDES
************************************/
#include "PubSubSend.hpp"
#include "SystemDefines.hpp"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This include is also in PubSubSend.hpp like the file above.

* INCLUDES
************************************/
#include "PubSubReceive.hpp"
#include "SystemDefines.hpp"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SystemDefines.hpp is included in PubSubReceive.hpp. Does it need to be included twice?

break;

case DataBrokerMessageTypes::INVALID:
[[fallthrough]];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason that this isn't a break statement?

while (1) {
/* Process commands in blocking mode */
Command cm;
bool res = qEvtQueue->ReceiveWait(cm);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

putting this inside the if statement conditional would match syntax with the equivalent lines in the send task (line 63)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants