mirror of https://github.com/ARMmbed/mbed-os.git
Changed where reply is populated
parent
c33e334a22
commit
e99d5bf764
|
@ -146,9 +146,9 @@ bool RPC::call(const char *request, char *reply) {
|
|||
/* Look through the methods for the one whose name matches */
|
||||
while (true) {
|
||||
for (; cur_method->name != NULL; cur_method++) {
|
||||
r.putData<const char*>(cur_method->name);
|
||||
if (strcmp(cur_method->name, args.method_name) == 0) {
|
||||
(cur_method->method_caller)(p, &args, &r);
|
||||
r.putData<const char*>(cur_method->name);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue