[Tinyos-commits] CVS: tinyos-1.x/tos/platform/telos HamamatsuM.nc, 1.4, 1.5

Joe Polastre jpolastre at users.sourceforge.net
Sun Jun 12 21:17:38 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/platform/telos
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26889

Modified Files:
	HamamatsuM.nc 
Log Message:
no longer need to set the ADC pin SEL functionality; this is done 
automatically by MSP430ADC12M.  Allows greater code reuse.



Index: HamamatsuM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/platform/telos/HamamatsuM.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** HamamatsuM.nc	2 Feb 2005 11:25:19 -0000	1.4
--- HamamatsuM.nc	13 Jun 2005 04:17:36 -0000	1.5
***************
*** 44,48 ****
    command result_t StdControl.start() {
      result_t ok;
-     atomic P6SEL |= 0x30;
      ok = call ADCControl.init();
      ok &= call ADCControl.bindPort(TOS_ADC_TSR_PORT,
--- 44,47 ----
***************
*** 54,58 ****
  
    command result_t StdControl.stop() {
-     atomic P6SEL &= ~0x30;
      return SUCCESS;
    }
--- 53,56 ----



More information about the Tinyos-commits mailing list