[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/Deluge/TOSBoot/msp430 PluginC.nc, 1.1, 1.2 PowerOffM.nc, 1.1, 1.2

Jonathan Hui jwhui at users.sourceforge.net
Sun May 1 22:37:20 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/msp430
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19463/msp430

Modified Files:
	PluginC.nc PowerOffM.nc 
Log Message:
Forgot to power down the flash chip when powering off the mote.



Index: PluginC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/msp430/PluginC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PluginC.nc	2 May 2005 04:56:01 -0000	1.1
--- PluginC.nc	2 May 2005 05:37:18 -0000	1.2
***************
*** 37,45 ****
  implementation {
  
!   components LedsC, PowerOffM;
  
    StdControl = PowerOffM;
  
    PowerOffM.Leds -> LedsC;
  
  }
--- 37,46 ----
  implementation {
  
!   components LedsC, PowerOffM, STM25PC;
  
    StdControl = PowerOffM;
  
    PowerOffM.Leds -> LedsC;
+   PowerOffM.SubControl -> STM25PC;
  
  }

Index: PowerOffM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/msp430/PowerOffM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PowerOffM.nc	2 May 2005 04:56:01 -0000	1.1
--- PowerOffM.nc	2 May 2005 05:37:18 -0000	1.2
***************
*** 35,38 ****
--- 35,39 ----
    uses {
      interface Leds;
+     interface StdControl as SubControl;
    }
  }
***************
*** 47,50 ****
--- 48,53 ----
      TOSH_SET_PIN_DIRECTIONS();
  
+     call SubControl.stop();
+ 
      call Leds.set(0);
      for (i = 1024; i > 0; i=i-4) {



More information about the Tinyos-beta-commits mailing list