summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2012-05-20 04:42:35 +0000
committerBernhard Tittelbach <xro@realraum.at>2012-05-20 04:42:35 +0000
commit21c210652dcf8ba5b0226f961d93df385eb60ed0 (patch)
treeacf6ef1d622c8b7946d038dd63003d8d7361dc07
parentsync word and wait for TX to finish (diff)
rx fifo could have overflowed
git-svn-id: https://svn.spreadspace.org/mur.sat@458 7de4ea59-55d0-425e-a1af-a3118ea81d4c
-rw-r--r--software/hhd70dongle/c1101lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/software/hhd70dongle/c1101lib.c b/software/hhd70dongle/c1101lib.c
index d19f8d4..79187b9 100644
--- a/software/hhd70dongle/c1101lib.c
+++ b/software/hhd70dongle/c1101lib.c
@@ -449,6 +449,7 @@ void c1101_recieveData(void)
recv_data[num_recv_total]=0;
usb_rawhid_send((uint8_t*)"RX: Data Recieved:",255);
usb_rawhid_send((uint8_t*)recv_data,255);
+ c1101_getStatus(); // get status and handle possiblble RX Fifo Overflow
}
//max returned: 64 bytes