]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mulle/chips/rv8564/RV8564P.nc
mulle platfor modification, flsh storage, more lowpower, softi2c improvements
[tinyos-2.x.git] / tos / platforms / mulle / chips / rv8564 / RV8564P.nc
index 9dcf0c2bbc47ccbb8f1778d06eab442815af9fd8..84dab98e7e5fd17e884e67ee868ba73756ce4ecd 100755 (executable)
@@ -136,8 +136,8 @@ implementation
       return FAIL;
     }
     state = WRITING;
-    write_buffer[0] = reg;
-    write_buffer[1] = value;
+    atomic write_buffer[0] = reg;
+    atomic write_buffer[1] = value;
     call I2CResource.request();
     return SUCCESS;
   }