]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mulle/chips/rv8564/RV8564P.nc
Changed the chip wiring of the RV8564 and DS2782 chips on Mulle compatible with the...
[tinyos-2.x.git] / tos / platforms / mulle / chips / rv8564 / RV8564P.nc
index 84dab98e7e5fd17e884e67ee868ba73756ce4ecd..35c0c0a6471d46906b012518717eb47e1c35c2d4 100755 (executable)
@@ -147,7 +147,7 @@ implementation
     atomic {
       if (state == READING)
       {
-        call I2C.write(I2C_START, RV8564_ADDR, 1, &read_register);
+        call I2C.write(I2C_START | I2C_STOP, RV8564_ADDR, 1, &read_register);
       }
       else if (state == WRITING)
       {