1
0
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:
Kaspar Schleiser 2010-11-03 11:37:20 +01:00
parent 5a4524539d
commit dc094d442b

View File

@ -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;