at86rf230: Add macro for TRX STATE MASK
authorChristoffer Holmstedt <christoffer.holmstedt@gmail.com>
Thu, 30 Apr 2015 15:44:56 +0000 (17:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 30 Apr 2015 16:48:09 +0000 (18:48 +0200)
commit4748e86ecf262ae9d94b7e4073653554951ceb7a
treeff95034912e8d713cf91085595d26f5bdc9870fb
parent1cc800e7aabb40e2d8ffc3d259e6a153007fa9eb
at86rf230: Add macro for TRX STATE MASK

Instead of using the 'magic' number of 0x1f the TRX_STATE_MASK macro is
introduced.

Signed-off-by: Christoffer Holmstedt <christoffer.holmstedt@gmail.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c