[Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/pxa27x HPLPowerManagementM.nc, 1.1, 1.2

Robbie Adler radler at users.sourceforge.net
Tue Jun 7 14:28:40 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31579

Modified Files:
	HPLPowerManagementM.nc 
Log Message:

Fix to reflect change in the interface definition somewhere else...



Index: HPLPowerManagementM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x/HPLPowerManagementM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HPLPowerManagementM.nc	13 Nov 2004 01:12:40 -0000	1.1
--- HPLPowerManagementM.nc	7 Jun 2005 21:28:38 -0000	1.2
***************
*** 42,49 ****
  module HPLPowerManagementM {
      provides {
!       interface PowerManagement;
!       command result_t Enable();
!       command result_t Disable();
!     }
  }
  implementation{  
--- 42,47 ----
  module HPLPowerManagementM {
      provides {
!       	interface PowerManagement;
!    	 }
  }
  implementation{  
***************
*** 55,64 ****
      }
  
!     command result_t Enable() {
        atomic disabled = FALSE;
        return SUCCESS;
      }
  
!     command result_t Disable() {
        atomic disabled = TRUE;
        return SUCCESS;
--- 53,62 ----
      }
  
!    async command result_t PowerManagement.enable() {
        atomic disabled = FALSE;
        return SUCCESS;
      }
  
!     async command result_t PowerManagement.disable() {
        atomic disabled = TRUE;
        return SUCCESS;



More information about the Tinyos-beta-commits mailing list