1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

use int explicitly

This commit is contained in:
Christian Mehlis 2013-07-09 13:41:08 +02:00
parent 96cbf4019e
commit 190e24116d

View File

@ -189,15 +189,15 @@ int msg_reply_int(msg_t *m, msg_t *reply)
int msg_try_receive(msg_t *m)
{
return _msg_receive(m, false);
return _msg_receive(m, 0);
}
int msg_receive(msg_t *m)
{
return _msg_receive(m, true);
return _msg_receive(m, 1);
}
static int _msg_receive(msg_t *m, block)
static int _msg_receive(msg_t *m, int block)
{
dINT();
DEBUG("%s: msg_receive.\n", active_thread->name);