[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/atm128/pins/sim HplAtm128GeneralIOPinP.nc, 1.1.2.3, 1.1.2.4

Phil Levis scipio at users.sourceforge.net
Sun Nov 5 10:11:37 PST 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/atm128/pins/sim
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv14767

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	HplAtm128GeneralIOPinP.nc 
Log Message:
Bug fix from Chad Metcalf.


Index: HplAtm128GeneralIOPinP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/atm128/pins/sim/HplAtm128GeneralIOPinP.nc,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** HplAtm128GeneralIOPinP.nc	1 Nov 2006 02:18:17 -0000	1.1.2.3
--- HplAtm128GeneralIOPinP.nc	5 Nov 2006 18:11:34 -0000	1.1.2.4
***************
*** 53,58 ****
    inline async command void IO.makeInput()  { CLR_BIT  (ddr, bit);  }
    inline async command void IO.makeOutput() { SET_BIT  (ddr, bit);  }
!   inline async command bool IO.isInput() { !READ_BIT  (ddr, bit);  }
!   inline async command bool IO.isOutput() { READ_BIT  (ddr, bit);  }
  }
  
--- 53,58 ----
    inline async command void IO.makeInput()  { CLR_BIT  (ddr, bit);  }
    inline async command void IO.makeOutput() { SET_BIT  (ddr, bit);  }
!   inline async command bool IO.isInput() { return !READ_BIT  (ddr, bit);  }
!   inline async command bool IO.isOutput() { return READ_BIT  (ddr, bit);  }
  }
  



More information about the Tinyos-2-commits mailing list