]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/ad5200/AD5200P.nc
Merge over into the trunk.
[tinyos-2.x.git] / tos / chips / ad5200 / AD5200P.nc
index f0c21e2aabea1708101a320091a5d5a8ce601075..f88f241bca742aa0400a96defca773d848a629e4 100644 (file)
@@ -83,7 +83,7 @@
 
     async command error_t Pot.set(uint8_t setting) {
       call ENPOT.clr();
-      call SpiByte.write(setting, 0);
+      call SpiByte.write(setting);
       call ENPOT.set();
       atomic Pot_value = setting;
       return SUCCESS;