X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fnrf.h;h=bf0f99dbe97fe669554578b8e93791086b85ad5c;hp=24234957d71fdc26e1ed6463867c66704e3d493c;hb=0fdb361ae1af20139c5751a1b6151e5e065a31b3;hpb=2c299b308dca8a7667bacce7690fa6238492723f diff --git a/firmware/include/nrf.h b/firmware/include/nrf.h index 2423495..bf0f99d 100644 --- a/firmware/include/nrf.h +++ b/firmware/include/nrf.h @@ -3,6 +3,13 @@ \brief Constants for NRF Driver */ +#ifndef NRF_H +#define NRF_H + +#include "app.h" + +#define NRF 0x50 + //Nordic RF Commands //Grab a packet, if one is available. @@ -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