X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fnrf.h;h=bf0f99dbe97fe669554578b8e93791086b85ad5c;hp=06805ae4dd15f21d104886883692bbd314b156bf;hb=a031b4a563978102c664466d1e91a9c3ab0553dd;hpb=12bb2a05d2b9a940f4bcdd7478d3c9d45cc8f50a diff --git a/firmware/include/nrf.h b/firmware/include/nrf.h index 06805ae..bf0f99d 100644 --- a/firmware/include/nrf.h +++ b/firmware/include/nrf.h @@ -3,7 +3,14 @@ \brief Constants for NRF Driver */ -//Nording RF Commands +#ifndef NRF_H +#define NRF_H + +#include "app.h" + +#define NRF 0x50 + +//Nordic RF Commands //Grab a packet, if one is available. #define NRF_RX 0x80 @@ -57,6 +64,7 @@ //Also 32-byte buffers for ACK_PLD, TX_PLD, and RX_PLD. //Separate SPI commands. +extern app_t const nrf_app; - +#endif // NRF_H