[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/pxa27x/gpio HalPXA27xGeneralIOM.nc, 1.1.2.4, 1.1.2.5

Philip Buonadonna philipb at users.sourceforge.net
Wed Oct 18 12:30:53 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/pxa27x/gpio
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv14814

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	HalPXA27xGeneralIOM.nc 
Log Message:
- Updates to jwhui's updates to use the correct return types for isInput() 
 and isOutput()


Index: HalPXA27xGeneralIOM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/pxa27x/gpio/HalPXA27xGeneralIOM.nc,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** HalPXA27xGeneralIOM.nc	28 Sep 2006 19:57:08 -0000	1.1.2.4
--- HalPXA27xGeneralIOM.nc	18 Oct 2006 19:30:51 -0000	1.1.2.5
***************
*** 86,93 ****
    }
    
!   async command void GeneralIO.isInput[uint8_t pin]() {
      bool result;
      result = !call HplPXA27xGPIOPin.getGPLRbit[pin]();
!     return;
    }
    
--- 86,93 ----
    }
    
!   async command bool GeneralIO.isInput[uint8_t pin]() {
      bool result;
      result = !call HplPXA27xGPIOPin.getGPLRbit[pin]();
!     return result;
    }
    
***************
*** 97,101 ****
    }
  
!   async command void GeneralIO.isOutput[uint8_t pin]() {
      bool result;
      result = call HplPXA27xGPIOPin.getGPDRbit[pin]();
--- 97,101 ----
    }
  
!   async command bool GeneralIO.isOutput[uint8_t pin]() {
      bool result;
      result = call HplPXA27xGPIOPin.getGPDRbit[pin]();



More information about the Tinyos-2-commits mailing list