Skip to content

Commit

Permalink
fixed endianness of eui64 in hwack driver
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbiro committed Oct 29, 2014
1 parent 443024e commit 9bd1ec1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tos/chips/atm128rfa1/radio/RFA1DriverHwAckP.nc
Original file line number Diff line number Diff line change
Expand Up @@ -236,14 +236,14 @@ implementation
PAN_ID_1 = temp >> 8;
#ifdef RFA1_HWACK_64BIT
longAddr = call LocalIeeeEui64.getId();
IEEE_ADDR_0 = longAddr.data[0];
IEEE_ADDR_1 = longAddr.data[1];
IEEE_ADDR_2 = longAddr.data[2];
IEEE_ADDR_3 = longAddr.data[3];
IEEE_ADDR_4 = longAddr.data[4];
IEEE_ADDR_5 = longAddr.data[5];
IEEE_ADDR_6 = longAddr.data[6];
IEEE_ADDR_7 = longAddr.data[7];
IEEE_ADDR_0 = longAddr.data[7];
IEEE_ADDR_1 = longAddr.data[6];
IEEE_ADDR_2 = longAddr.data[5];
IEEE_ADDR_3 = longAddr.data[4];
IEEE_ADDR_4 = longAddr.data[3];
IEEE_ADDR_5 = longAddr.data[2];
IEEE_ADDR_6 = longAddr.data[1];
IEEE_ADDR_7 = longAddr.data[0];
#endif

SET_BIT(TRXPR,SLPTR);
Expand Down

0 comments on commit 9bd1ec1

Please sign in to comment.