Change trace/unimplemented service call logs to use hex
Changes the log to use hex in the parameter list instead of decimal.
This commit is contained in:
parent
ef828a1cdd
commit
84a88005e2
|
@ -54,7 +54,7 @@ static std::string MakeFunctionString(const char* name, const char* port_name, c
|
||||||
|
|
||||||
std::string function_string = Common::StringFromFormat("function '%s': port=%s", name, port_name);
|
std::string function_string = Common::StringFromFormat("function '%s': port=%s", name, port_name);
|
||||||
for (int i = 1; i <= num_params; ++i) {
|
for (int i = 1; i <= num_params; ++i) {
|
||||||
function_string += Common::StringFromFormat(", cmd_buff[%i]=%u", i, cmd_buff[i]);
|
function_string += Common::StringFromFormat(", cmd_buff[%i]=0x%X", i, cmd_buff[i]);
|
||||||
}
|
}
|
||||||
return function_string;
|
return function_string;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue