replace uint16_t with radio_address_t in at86rf231
adpot includes
This commit is contained in:
parent
85c6b6587e
commit
170bfb8aa5
@ -90,7 +90,7 @@ void at86rf231_rx_irq(void)
|
|||||||
at86rf231_rx_handler();
|
at86rf231_rx_handler();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t at86rf231_set_address(uint16_t address)
|
radio_address_t at86rf231_set_address(radio_address_t address)
|
||||||
{
|
{
|
||||||
radio_address = address;
|
radio_address = address;
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ uint16_t at86rf231_set_address(uint16_t address)
|
|||||||
return radio_address;
|
return radio_address;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t at86rf231_get_address(void)
|
radio_address_t at86rf231_get_address(void)
|
||||||
{
|
{
|
||||||
return radio_address;
|
return radio_address;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,6 +4,8 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "radio/types.h"
|
||||||
|
|
||||||
#include "ieee802154_frame.h"
|
#include "ieee802154_frame.h"
|
||||||
|
|
||||||
#include "at86rf231_arch.h"
|
#include "at86rf231_arch.h"
|
||||||
@ -42,8 +44,8 @@ uint8_t at86rf231_get_channel(void);
|
|||||||
uint16_t at86rf231_set_pan(uint16_t pan);
|
uint16_t at86rf231_set_pan(uint16_t pan);
|
||||||
uint16_t at86rf231_get_pan(void);
|
uint16_t at86rf231_get_pan(void);
|
||||||
|
|
||||||
uint16_t at86rf231_set_address(uint16_t address);
|
radio_address_t at86rf231_set_address(radio_address_t address);
|
||||||
uint16_t at86rf231_get_address(void);
|
radio_address_t at86rf231_get_address(void);
|
||||||
uint64_t at86rf231_get_address_long(void);
|
uint64_t at86rf231_get_address_long(void);
|
||||||
uint64_t at86rf231_set_address_long(uint64_t address);
|
uint64_t at86rf231_set_address_long(uint64_t address);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user