summaryrefslogtreecommitdiff
path: root/software/hhd70dongle/hhd70dongle.c
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2012-05-20 02:06:37 +0000
committerBernhard Tittelbach <xro@realraum.at>2012-05-20 02:06:37 +0000
commitd8865081d540d846bf83364724fd58e4428d2e29 (patch)
tree6dbc5933c27b7ebe9d4403a4eb14cd80c113ac6f /software/hhd70dongle/hhd70dongle.c
parentfix write register bug (diff)
../..
git-svn-id: https://svn.spreadspace.org/mur.sat@447 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/hhd70dongle.c')
-rw-r--r--software/hhd70dongle/hhd70dongle.c21
1 files changed, 3 insertions, 18 deletions
diff --git a/software/hhd70dongle/hhd70dongle.c b/software/hhd70dongle/hhd70dongle.c
index 030e6c0..bc62dea 100644
--- a/software/hhd70dongle/hhd70dongle.c
+++ b/software/hhd70dongle/hhd70dongle.c
@@ -83,37 +83,22 @@ int main(void)
//~ {
//~ led_on();
//~ usb_rawhid_send((uint8_t*)"RX: GDO2 pin HIGH",100);
+ //~ usb_rawhid_send((uint8_t*)"c1101 rx bytes:",255);
//~ debug_sprint_int16hex(write_buffer, c1101_spi_read_register(SPIC1101_ADDR_RXBYTES));
//~ usb_rawhid_send(write_buffer,255);
- //~ //usb_rawhid_send((uint8_t*)"c1101 IOCFG2:",255);
//~ c1101_recieveData();
//~ led_off();
//~ }
- //~ usb_rawhid_send((uint8_t*)"c1101 rssi:",255);
+ usb_rawhid_send((uint8_t*)"c1101 rssi:",255);
debug_sprint_int16hex(write_buffer, c1101_spi_read_register(SPIC1101_ADDR_RSSI));
usb_rawhid_send(write_buffer,255);
- usb_rawhid_send((uint8_t*)"c1101 tx bytes:",255);
+ //~ usb_rawhid_send((uint8_t*)"c1101 tx bytes:",255);
//~ debug_sprint_int16hex(write_buffer, c1101_spi_read_register(SPIC1101_ADDR_TXBYTES));
//~ usb_rawhid_send(write_buffer,255);
//~ usb_rawhid_send((uint8_t*)"c1101 rx bytes:",255);
//~ debug_sprint_int16hex(write_buffer, c1101_spi_read_register(SPIC1101_ADDR_RXBYTES));
//~ usb_rawhid_send(write_buffer,255);
- //~ //usb_rawhid_send((uint8_t*)"c1101 IOCFG2:",255);
- //~ //debug_sprint_int16hex(write_buffer, c1101_spi_read_register(SPIC1101_ADDR_IOCFG2));
- //~ //usb_rawhid_send(write_buffer,255);
- //~ //usb_rawhid_send((uint8_t*)"c1101 IOCFG1:",255);
- //~ //debug_sprint_int16hex(write_buffer, c1101_spi_read_register(SPIC1101_ADDR_IOCFG1));
- //~ //usb_rawhid_send(write_buffer,255);
- //~ //usb_rawhid_send((uint8_t*)"c1101 IOCFG0:",255);
- //~ //debug_sprint_int16hex(write_buffer, c1101_spi_read_register(SPIC1101_ADDR_IOCFG0));
- //~ //usb_rawhid_send(write_buffer,255);
- //~ //usb_rawhid_send((uint8_t*)"c1101 FIFOTHR:",255);
- //~ //debug_sprint_int16hex(write_buffer, c1101_spi_read_register(SPIC1101_ADDR_FIFOTHR));
- //~ //usb_rawhid_send(write_buffer,255);
- //~ usb_rawhid_send((uint8_t*)"c1101 PKTLEN:",255);
- //~ debug_sprint_int16hex(write_buffer, c1101_spi_read_register(SPIC1101_ADDR_PKTLEN));
- //~ usb_rawhid_send(write_buffer,255);
c1101_spi_dump_registers_to_usb();
write_buffer[0]='T';
write_buffer[1]='e';