Merge branch 'contiki' into osd
This commit is contained in:
commit
877bf27f5a
245 changed files with 8117 additions and 6356 deletions
|
@ -1073,8 +1073,10 @@ rf230_transmit(unsigned short payload_len)
|
|||
|
||||
if (tx_result==RADIO_TX_OK) {
|
||||
RIMESTATS_ADD(lltx);
|
||||
#if NETSTACK_CONF_WITH_RIME
|
||||
if(packetbuf_attr(PACKETBUF_ATTR_RELIABLE))
|
||||
RIMESTATS_ADD(ackrx); //ack was requested and received
|
||||
#endif
|
||||
#if RF230_INSERTACK
|
||||
/* Not PAN broadcast to FFFF, and ACK was requested and received */
|
||||
if (!((buffer[5]==0xff) && (buffer[6]==0xff)) && (buffer[0]&(1<<6)))
|
||||
|
|
|
@ -49,8 +49,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef RADIO_H
|
||||
#define RADIO_H
|
||||
#ifndef RF230BB_H_
|
||||
#define RF230BB_H_
|
||||
/*============================ INCLUDE =======================================*/
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -225,6 +225,6 @@ uint8_t rf230_get_raw_rssi(void);
|
|||
|
||||
#define rf230_rssi rf230_get_raw_rssi
|
||||
|
||||
#endif
|
||||
#endif /* RF230BB_H_ */
|
||||
/** @} */
|
||||
/*EOF*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue