projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A major refactor of the GoodFET firmware build system and apps to give better
[goodfet]
/
firmware
/
include
/
nrf.h
diff --git
a/firmware/include/nrf.h
b/firmware/include/nrf.h
index
2423495
..
bf0f99d
100644
(file)
--- a/
firmware/include/nrf.h
+++ b/
firmware/include/nrf.h
@@
-3,6
+3,13
@@
\brief Constants for NRF Driver
*/
\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.
//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.
//Also 32-byte buffers for ACK_PLD, TX_PLD, and RX_PLD.
//Separate SPI commands.
+extern app_t const nrf_app;
-
+#endif // NRF_H