Code style fix
This commit is contained in:
parent
6815e2a53f
commit
4a1a823a49
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: nullmac.c,v 1.11 2009/11/13 10:09:02 fros4943 Exp $
|
* $Id: nullmac.c,v 1.12 2009/12/05 13:29:41 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -47,7 +47,7 @@ static void (* receiver_callback)(const struct mac_driver *);
|
||||||
static int
|
static int
|
||||||
send_packet(void)
|
send_packet(void)
|
||||||
{
|
{
|
||||||
if (radio->send(packetbuf_hdrptr(), packetbuf_totlen()) == RADIO_TX_OK) {
|
if(radio->send(packetbuf_hdrptr(), packetbuf_totlen()) == RADIO_TX_OK) {
|
||||||
return MAC_TX_OK;
|
return MAC_TX_OK;
|
||||||
}
|
}
|
||||||
return MAC_TX_ERR;
|
return MAC_TX_ERR;
|
||||||
|
|
Loading…
Add table
Reference in a new issue