diff options
author | Bernhard Tittelbach <xro@realraum.at> | 2012-05-17 06:14:40 +0000 |
---|---|---|
committer | Bernhard Tittelbach <xro@realraum.at> | 2012-05-17 06:14:40 +0000 |
commit | 464fa0657e41111d93bed08212f621deeda6b909 (patch) | |
tree | 76c86d28c1e7d61289fcf543b7c757a2c58e8645 /software/hhd70dongle/c1101lib.c | |
parent | regularly flush stdout (diff) |
actually burst read registers instead of writing them
git-svn-id: https://svn.spreadspace.org/mur.sat@425 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/c1101lib.c')
-rw-r--r-- | software/hhd70dongle/c1101lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/software/hhd70dongle/c1101lib.c b/software/hhd70dongle/c1101lib.c index e5e3edb..57804ca 100644 --- a/software/hhd70dongle/c1101lib.c +++ b/software/hhd70dongle/c1101lib.c @@ -108,7 +108,7 @@ void spi_c1101_dump_registers_to_usb(void) uint8_t debug_sb[6]; spi_cs_enable(); spi_c1101_wait_chip_rdy(); - if (spi_c1101_write_byte_ok_get_status(SPIC1101_ADDR_IOCFG2 | 0x40) < 0) + if (spi_c1101_write_byte_ok_get_status(0xC0) < 0) return; usb_rawhid_send((uint8_t*)"dump all 46 registers:",255); for (c=0; c<47; c++) |