[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/usart Msp430I2CP.nc, 1.1.2.6, 1.1.2.7

Jonathan Hui jwhui at users.sourceforge.net
Fri Oct 13 10:23:31 PDT 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	Msp430I2CP.nc 
Log Message:

Bug fix contribued by Max Cortiana.

Include default handler for isOwner.



Index: Msp430I2CP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/usart/Attic/Msp430I2CP.nc,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** Msp430I2CP.nc	31 Aug 2006 14:59:55 -0000	1.1.2.6
--- Msp430I2CP.nc	13 Oct 2006 17:23:29 -0000	1.1.2.7
***************
*** 89,92 ****
--- 89,93 ----
    
    async command void ResourceConfigure.unconfigure[ uint8_t id ]() {
+     call HplI2C.clearModeI2C();
    }
    
***************
*** 221,223 ****
--- 222,226 ----
    }
    
+   default async command error_t UsartResource.isOwner[ uint8_t id ]() { return FAIL; }
+ 
  }



More information about the Tinyos-2-commits mailing list