From 9fbb2249dac3cc8ff8bc71d35f02b1d34f190ba1 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Thu, 20 Jun 2013 10:58:01 +0200 Subject: [PATCH] fix comment --- culfw/culfw-cc1100-fix.diff | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/culfw/culfw-cc1100-fix.diff b/culfw/culfw-cc1100-fix.diff index 097b483..b67b065 100644 --- a/culfw/culfw-cc1100-fix.diff +++ b/culfw/culfw-cc1100-fix.diff @@ -10,10 +10,11 @@ Index: clib/cc1100.c EIMSK &= ~_BV(CC1100_INT); // Going from RX to TX does not work if there was a reception less than 0.5 - // sec ago. Due to CCA? Using IDLE helps to shorten this period(?) +- // sec ago. Due to CCA? Using IDLE helps to shorten this period(?) - ccStrobe(CC1100_SIDLE); - while(cnt-- && (ccStrobe( CC1100_STX ) & 0x70) != 2) - my_delay_us(10); ++ // sec ago. Due to CCA? Wait for chip to enter TX state. + + while (cc1100_readReg(CC1100_MARCSTATE) != MARCSTATE_TX) { + ccStrobe(CC1100_STX); -- 2.39.5