- 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();
-
-+ if (rxfifo_cnt & 0x80) // Overflow
-+ break;
-+
-+ rxfifo_cnt &= 0x7f;
-+
+ // see if a CRC OK pkt has been arrived
+ if (bit_is_set( CC1100_IN_PORT, CC1100_IN_PIN )) {
+-