From: Michael Gernoth Date: Thu, 20 Jun 2013 08:58:01 +0000 (+0200) Subject: fix comment X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/fhem-stuff/commitdiff_plain/9fbb2249dac3cc8ff8bc71d35f02b1d34f190ba1 fix comment --- 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);