]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mulle/softwarei2c/SharedI2CPacketC.nc
Added support for pulling the SDA and SCL pins low on I2C 2 on Mulle when they are...
[tinyos-2.x.git] / tos / platforms / mulle / softwarei2c / SharedI2CPacketC.nc
index e9d519e5037f1c401bd779322d0791c84757ef20..fd7e271c4cb6481b8388d72e962f4e5dd038c20b 100755 (executable)
@@ -80,6 +80,8 @@ generic configuration SharedI2CPacketC(char resourceName[])
 {
   provides interface Resource[uint8_t client];
   provides interface I2CPacket<TI2CBasicAddr>[uint8_t client];
+  provides interface ResourceDefaultOwner;
+  
   uses interface I2CPacket<TI2CBasicAddr> as SubPacket;
 }
 implementation
@@ -89,6 +91,7 @@ implementation
     
   Resource  = I2C.Resource;
   I2CPacket = I2C.I2CPacket;
+  ResourceDefaultOwner = Arbiter;
   
   I2C.SubResource -> Arbiter;
   I2C.SubPacket   = SubPacket;