Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Oct 16, 2023
1 parent 4dea4e6 commit d9b4ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RemoteIDModule/RemoteIDModule.ino
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static const char *check_parse(void)
// 50 chars that is also the max for the arm status message
static char return_string[50];
memset(return_string, 0, sizeof(return_string));
snprintf(return_string, sizeof(return_string-1), "bad %s data", ret.c_str());
snprintf(return_string, sizeof(return_string)-1, "bad %s data", ret.c_str());
return return_string;
}
return nullptr;
Expand Down

0 comments on commit d9b4ab7

Please sign in to comment.