Skip to content

Commit

Permalink
code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mraduldubey committed Oct 3, 2024
1 parent b4f29a4 commit 6f90a5d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions base/include/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include "BufferMaker.h"
#include "APCallback.h"

#define DUMMY_CTRL_EOP_PIN "dummy_ctrl_eop_pin"

using namespace std;

class FrameContainerQueue;
Expand Down
4 changes: 2 additions & 2 deletions base/include/SimpleControlModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class SimpleControlModule : public AbsControlModule
{
}
std::string printStatus();
void handleError(const APErrorObject &error) override;
void handleHealthCallback(const APHealthObject &healthObj) override;
void handleError(const APErrorObject& error) override;
void handleHealthCallback(const APHealthObject& healthObj) override;
protected:
void sendEOS();
void sendEOS(frame_sp& frame);
Expand Down
2 changes: 1 addition & 1 deletion base/src/Module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,7 @@ bool Module::addEoPFrame(frame_container &frames)
auto frame = frame_sp(new EoPFrame());
auto metadata = framemetadata_sp(new FrameMetadata(FrameMetadata::GENERAL));
frame->setMetadata((metadata));
frames.insert(make_pair("dummy_eop_ctrl_pin", frame));
frames.insert(make_pair(DUMMY_CTRL_EOP_PIN, frame));
}

// if sieve is disabled for atleast one connection - send additional EOP
Expand Down

0 comments on commit 6f90a5d

Please sign in to comment.