Minor codestyle fix
This commit is contained in:
parent
bddd31abf2
commit
8745235a79
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* @(#)$Id: cc2420.c,v 1.33 2009/08/19 15:05:05 nifi Exp $
|
* @(#)$Id: cc2420.c,v 1.34 2009/09/09 21:07:42 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
* This code is almost device independent and should be easy to port.
|
* This code is almost device independent and should be easy to port.
|
||||||
|
@ -418,9 +418,9 @@ cc2420_send(const void *payload, unsigned short payload_len)
|
||||||
if(receive_on) {
|
if(receive_on) {
|
||||||
ENERGEST_ON(ENERGEST_TYPE_LISTEN);
|
ENERGEST_ON(ENERGEST_TYPE_LISTEN);
|
||||||
} else {
|
} else {
|
||||||
/* We need to explicitly turn off the radio,
|
/* We need to explicitly turn off the radio,
|
||||||
* since STXON[CCA] -> TX_ACTIVE -> RX_ACTIVE */
|
* since STXON[CCA] -> TX_ACTIVE -> RX_ACTIVE */
|
||||||
off();
|
off();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(packetbuf_attr(PACKETBUF_ATTR_RADIO_TXPOWER) > 0) {
|
if(packetbuf_attr(PACKETBUF_ATTR_RADIO_TXPOWER) > 0) {
|
||||||
|
|
Loading…
Reference in a new issue