+ // We must not read the last byte from the RX fifo while RX is in progress (Errata 1)
+ while (((read_cc1100_rxbytes() & 0x7f) < 2) && (cc1100_readReg(CC1100_PKTSTATUS) & (1 << 3))) {
+ my_delay_ms(1);
+ // We must not read the last byte from the RX fifo while RX is in progress (Errata 1)
+ while (((read_cc1100_rxbytes() & 0x7f) < 2) && (cc1100_readReg(CC1100_PKTSTATUS) & (1 << 3))) {
+ my_delay_ms(1);