-@@ -77,18 +108,57 @@
- uint8_t dec[MAX_ASKSIN_MSG];
- uint8_t rssi;
- uint8_t l;
-+ uint8_t rxfifo_cnt;
-+ uint16_t timeout;
-
- if(!asksin_on)
- return;
-
-- // see if a CRC OK pkt has been arrived
-- if (bit_is_set( CC1100_IN_PORT, CC1100_IN_PIN )) {
-+ // see if there is data to be read
-+ while (bit_is_set( CC1100_IN_PORT, CC1100_IN_PIN )) {
-+ rxfifo_cnt = read_cc1100_rxbytes();