[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/adc12 AdcP.nc, 1.1.2.1, 1.1.2.2 Msp430RefVoltArbiterImplP.nc, 1.1.2.1, 1.1.2.2

Philipp Huppertz phihup at users.sourceforge.net
Wed Oct 11 04:54:33 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/adc12
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24911/tos/chips/msp430/adc12

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	AdcP.nc Msp430RefVoltArbiterImplP.nc 
Log Message:
- added default command isOwner()

Index: AdcP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/adc12/Attic/AdcP.nc,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** AdcP.nc	9 Oct 2006 13:24:42 -0000	1.1.2.1
--- AdcP.nc	11 Oct 2006 11:54:28 -0000	1.1.2.2
***************
*** 325,328 ****
--- 325,329 ----
    default async command error_t SubResourceReadNow.release[uint8_t nowClient](){ return FAIL;}
    default async command error_t SubResourceReadNow.request[uint8_t nowClient](){ return FAIL; }
+   default async command bool SubResourceReadNow.isOwner[uint8_t client]() { return FALSE; }
    default event void ResourceReadNow.granted[uint8_t nowClient](){}
    default async event void ReadNow.readDone[uint8_t client]( error_t result, uint16_t val ){}

Index: Msp430RefVoltArbiterImplP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/adc12/Attic/Msp430RefVoltArbiterImplP.nc,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** Msp430RefVoltArbiterImplP.nc	9 Oct 2006 13:24:43 -0000	1.1.2.1
--- Msp430RefVoltArbiterImplP.nc	11 Oct 2006 11:54:29 -0000	1.1.2.2
***************
*** 149,153 ****
      return FAIL;
    }
! 
    default async command error_t AdcResource.release[uint8_t client](){return FAIL;}
    const msp430adc12_channel_config_t defaultConfig = {INPUT_CHANNEL_NONE,0,0,0,0,0,0,0}; 
--- 149,153 ----
      return FAIL;
    }
!   default async command bool AdcResource.isOwner[uint8_t client]() { return FALSE; }
    default async command error_t AdcResource.release[uint8_t client](){return FAIL;}
    const msp430adc12_channel_config_t defaultConfig = {INPUT_CHANNEL_NONE,0,0,0,0,0,0,0}; 



More information about the Tinyos-2-commits mailing list