summaryrefslogtreecommitdiff
path: root/software
diff options
context:
space:
mode:
Diffstat (limited to 'software')
-rw-r--r--software/hhd70dongle/c1101lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/software/hhd70dongle/c1101lib.c b/software/hhd70dongle/c1101lib.c
index 88c5c2f..7c309cd 100644
--- a/software/hhd70dongle/c1101lib.c
+++ b/software/hhd70dongle/c1101lib.c
@@ -396,9 +396,9 @@ void c1101_transmitData(char *buffer, unsigned int len)
buffer += num_written;
len -= num_written;
c1101_state = c1101_getMARCState();
- if (c1101_state == 1)
+ if (c1101_state == 1 || (c1101_state >= 13 && c1101_state <= 15))
{
- //from idle state, go to RX state
+ //from state IDLE or RX go to TX
num_written = c1101_spi_strobe_command(SPIC1101_ADDR_STX);
//~ usb_rawhid_send((uint8_t*)"Strobe STX",255);
//~ debug_sprint_int16hex(debug_sb, num_written);