|
From: Lin Gu <li...@us...> - 2004-12-15 22:15:30
|
Update of /cvsroot/vert/vert-1.3/tos/platform/mica2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16562/tos/platform/mica2 Modified Files: CC1000RadioIntM.nc Log Message: commit after returning from Avon Park, FL. Index: CC1000RadioIntM.nc =================================================================== RCS file: /cvsroot/vert/vert-1.3/tos/platform/mica2/CC1000RadioIntM.nc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CC1000RadioIntM.nc 4 Aug 2004 17:40:45 -0000 1.6 --- CC1000RadioIntM.nc 15 Dec 2004 22:15:17 -0000 1.7 *************** *** 846,850 **** // Time Sync: substract one to start counting from zero signal RadioReceiveCoordinator.byte(rxbufptr, (uint8_t)RxByteCnt-1); ! if (RxByteCnt < rxlength) { usRunningCRC = crcByte(usRunningCRC,Byte); --- 846,869 ---- // Time Sync: substract one to start counting from zero signal RadioReceiveCoordinator.byte(rxbufptr, (uint8_t)RxByteCnt-1); ! #define USE_LED_RADIO ! #ifdef USE_LED_RADIO ! { ! static int aa, ss; ! if (!(aa&0xf)) ! { ! if (ss) ! { ! TOSH_CLR_RED_LED_PIN(); ! } ! else ! { ! TOSH_SET_RED_LED_PIN(); ! } // else ! ! ss = 1 - ss; ! } // if ! } ! #endif ! if (RxByteCnt < rxlength) { usRunningCRC = crcByte(usRunningCRC,Byte); |