]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/telosa/chips/s10871/HamamatsuS10871TsrC.nc
Added DeviceMetadata interface to telosb sensors.
[tinyos-2.x.git] / tos / platforms / telosa / chips / s10871 / HamamatsuS10871TsrC.nc
index 2a6f99a8b1f9bc71c92929c5dd6d44705c32d896..49b7aabcfaedced001ed79d4520af84f5ccf8128 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 generic configuration HamamatsuS10871TsrC() {
+  provides interface DeviceMetadata;
   provides interface Read<uint16_t>;
   provides interface ReadStream<uint16_t>;
 }
@@ -49,6 +50,7 @@ implementation {
   ReadStream = AdcReadStreamClientC;
 
   components HamamatsuS10871TsrP;
-  AdcReadClientC.Msp430Adc12Config -> HamamatsuS10871TsrP;
-  AdcReadStreamClientC.Msp430Adc12Config -> HamamatsuS10871TsrP;
+  DeviceMetadata = HamamatsuS10871TsrP;
+  AdcReadClientC.AdcConfigure -> HamamatsuS10871TsrP;
+  AdcReadStreamClientC.AdcConfigure -> HamamatsuS10871TsrP;
 }