Skip to content

Commit

Permalink
fixed compile issues on files outside the slideruleearth codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jpswinski committed Nov 1, 2023
1 parent 29de90f commit 009b627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ccsds/CcsdsParserZFrameModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ int CcsdsParserZFrameModule::parseBuffer (unsigned char* buffer, int bytes, Ccsd
#define FRAME_SYNC_SIZE 12 // size of above string

/* Compare Sync Mark */
if(!StringLib::match(frame_sync, frameBuffer, FRAME_SYNC_SIZE))
if(!StringLib::match(frame_sync, frameBuffer))
{
return PARSE_ERROR;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/legacy/CommandProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ bool CommandProcessor::processCommand (const char* cmdstr)
/* Get Object and Command */
#define OBJ_CMD_TOKS 2
char objtoks[OBJ_CMD_TOKS][MAX_CMD_SIZE];
int numobjtoks = StringLib::tokenizeLine(cp_cmd_str, (int)StringLib::size(cp_cmd_str, MAX_CMD_SIZE), OBJ_DELIMETER[0], OBJ_CMD_TOKS, objtoks);
int numobjtoks = StringLib::tokenizeLine(cp_cmd_str, (int)StringLib::size(cp_cmd_str), OBJ_DELIMETER[0], OBJ_CMD_TOKS, objtoks);
if(numobjtoks > 1) // <object name>::<command name>
{
try
Expand Down

0 comments on commit 009b627

Please sign in to comment.