mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
* fix msg_reply_int
This commit is contained in:
parent
5a4524539d
commit
dc094d442b
@ -148,7 +148,7 @@ int msg_reply_int(msg *m, msg *reply) {
|
||||
return -1;
|
||||
}
|
||||
msg* target_message = (msg*)target->wait_data;
|
||||
*target_message = *m;
|
||||
*target_message = *reply;
|
||||
sched_set_status(target, STATUS_PENDING);
|
||||
sched_context_switch_request = 1;
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user