Skip to content

Commit

Permalink
Fix namespace bug
Browse files Browse the repository at this point in the history
  • Loading branch information
conjikidow committed Dec 6, 2024
1 parent 61df64b commit a57bb92
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void WingsCommandSenderToC2a::AnalyzeC2aCommand(const std::vector<std::string> t
std::string command_name = tokens[0].substr(first_dot_position + 1);

// Get command code
C2aCommandInformation cmd_info = c2a_command_database_.GetCommandInformation(command_name);
s2e::setting_file_reader::C2aCommandInformation cmd_info = c2a_command_database_.GetCommandInformation(command_name);
if (cmd_info.GetCommandName() == "Error") {
// TODO: error handling
}
Expand Down Expand Up @@ -114,7 +114,7 @@ void WingsCommandSenderToC2a::AnalyzeC2aCommand(const std::vector<std::string> t
uint16_t param_len = 0;
for (size_t arg_num = 0; arg_num < arguments.size(); arg_num++) {
size_t len = 0;
DecodeC2aCommandArgument(cmd_info.GetArgumentType(arg_num), arguments[arg_num], param + param_len, len);
s2e::setting_file_reader::DecodeC2aCommandArgument(cmd_info.GetArgumentType(arg_num), arguments[arg_num], param + param_len, len);
param_len += (uint16_t)len;
}

Expand Down

0 comments on commit a57bb92

Please sign in to comment.