[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/ad5200 AD5200P.nc,
1.1.2.6, 1.1.2.7
Jonathan Hui
jwhui at users.sourceforge.net
Thu Sep 28 12:26:23 PDT 2006
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/ad5200
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30064/chips/ad5200
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
AD5200P.nc
Log Message:
Changes to SpiByte interface. Return received byte since error_t is no
longer returned.
Index: AD5200P.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/ad5200/AD5200P.nc,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** AD5200P.nc 17 Feb 2006 22:55:33 -0000 1.1.2.6
--- AD5200P.nc 28 Sep 2006 19:26:21 -0000 1.1.2.7
***************
*** 84,88 ****
async command error_t Pot.set(uint8_t setting) {
call ENPOT.clr();
! call SpiByte.write(setting, 0);
call ENPOT.set();
atomic Pot_value = setting;
--- 84,88 ----
async command error_t Pot.set(uint8_t setting) {
call ENPOT.clr();
! call SpiByte.write(setting);
call ENPOT.set();
atomic Pot_value = setting;
More information about the Tinyos-2-commits
mailing list