[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/tsl2561 HplTSL2561LogicP.nc, 1.1.2.5, 1.1.2.6

Philip Buonadonna philipb at users.sourceforge.net
Wed Apr 4 14:56:57 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/tsl2561
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2728

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	HplTSL2561LogicP.nc 
Log Message:
Fixed bug in READID command

Index: HplTSL2561LogicP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/tsl2561/HplTSL2561LogicP.nc,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -C2 -d -r1.1.2.5 -r1.1.2.6
*** HplTSL2561LogicP.nc	7 Nov 2006 23:15:10 -0000	1.1.2.5
--- HplTSL2561LogicP.nc	4 Apr 2007 21:56:53 -0000	1.1.2.6
***************
*** 286,290 ****
        break;
      case STATE_READID:
!       error = call I2CPacket.read(I2C_STOP,devAddr,1,mI2CBuffer);
        break;
      default:
--- 286,290 ----
        break;
      case STATE_READID:
!       error = call I2CPacket.read(I2C_START | I2C_STOP,devAddr,1,mI2CBuffer);
        break;
      default:



More information about the Tinyos-2-commits mailing list