Skip to content
Snippets Groups Projects
Commit 3d21c709 authored by Martine Lenders's avatar Martine Lenders
Browse files

Merge pull request #5182 from kaspar030/fixup_cc1101

drivers: cc110x: compile fix
parents de19411a e64cffa3
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ static int _recv(netdev2_t *dev, char* buf, int len, void *info) ...@@ -70,7 +70,7 @@ static int _recv(netdev2_t *dev, char* buf, int len, void *info)
static inline int _get_iid(netdev2_t *netdev, eui64_t *value, size_t max_len) static inline int _get_iid(netdev2_t *netdev, eui64_t *value, size_t max_len)
{ {
cc110x_t *cc110x = &((netdev2_cc110x_t*) dev)->cc110x; cc110x_t *cc110x = &((netdev2_cc110x_t*) netdev)->cc110x;
uint8_t *eui64 = (uint8_t*) value; uint8_t *eui64 = (uint8_t*) value;
if (max_len < sizeof(eui64_t)) { if (max_len < sizeof(eui64_t)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment