Skip to content

Commit

Permalink
fixup! at86rf2xx: port to netdev2
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Jan 18, 2016
1 parent 1fe649d commit f8fc6a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/include/at86rf2xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "periph/spi.h"
#include "periph/gpio.h"
#include "net/netdev2.h"
#include "net/gnrc/nettype.h"

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -139,7 +140,9 @@ typedef struct {
gpio_t sleep_pin; /**< sleep pin */
gpio_t reset_pin; /**< reset pin */
gpio_t int_pin; /**< external interrupt pin */
#ifdef MODULE_GNRC
gnrc_nettype_t proto; /**< protocol the radio expects */
#endif
uint8_t state; /**< current state of the radio */
uint8_t seq_nr; /**< sequence number to use next */
uint8_t rx_frame_len; /**< length of the current RX frame */
Expand Down

0 comments on commit f8fc6a0

Please sign in to comment.