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

core/msg: coding convention cleanup

This commit is contained in:
Ludwig Ortmann 2014-11-12 17:21:35 +01:00
parent 535839f2d5
commit b4d9c9e6b7

View File

@ -53,7 +53,8 @@ static int queue_msg(tcb_t *target, const msg_t *m)
return 1;
}
int msg_send(msg_t *m, kernel_pid_t target_pid) {
int msg_send(msg_t *m, kernel_pid_t target_pid)
{
if (inISR()) {
return msg_send_int(m, target_pid);
}
@ -63,7 +64,8 @@ int msg_send(msg_t *m, kernel_pid_t target_pid) {
return _msg_send(m, target_pid, true, disableIRQ());
}
int msg_try_send(msg_t *m, kernel_pid_t target_pid) {
int msg_try_send(msg_t *m, kernel_pid_t target_pid)
{
if (inISR()) {
return msg_send_int(m, target_pid);
}