summaryrefslogtreecommitdiff
path: root/software/hhd70dongle/c1101lib.h
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2012-05-17 06:14:34 +0000
committerBernhard Tittelbach <xro@realraum.at>2012-05-17 06:14:34 +0000
commit195ea8d1af2745228c8d4a5c893ae0c8e27ba96c (patch)
tree2d1db8aba809dd155462413d4edde4fb565dbbf4 /software/hhd70dongle/c1101lib.h
parentmake SPI work by correcting register typo ;-) (diff)
fix CHP_RDY check, waiting and so on
git-svn-id: https://svn.spreadspace.org/mur.sat@421 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/c1101lib.h')
-rw-r--r--software/hhd70dongle/c1101lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/software/hhd70dongle/c1101lib.h b/software/hhd70dongle/c1101lib.h
index 43cfc2b..7740494 100644
--- a/software/hhd70dongle/c1101lib.h
+++ b/software/hhd70dongle/c1101lib.h
@@ -119,7 +119,7 @@
#define SPIC1101_ADDR_FIFO_WRITE 0x3F
#define SPIC1101_ADDR_FIFO_WRITE_BURST (0x3F | 0x40)
-#define SPIC1101_SB_CHIPRDY(x) (x & 0b10000000)
+#define SPIC1101_SB_CHIP_NOT_RDY(x) (x & 0b10000000)
#define SPIC1101_SB_IDLE(x) (x & 0b01110000) == 0
#define SPIC1101_SB_RXMODE(x) (x & 0b01110000) == 0b0010000
#define SPIC1101_SB_TXMODE(x) (x & 0b01110000) == 0b0100000