]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mica2/chips/cc1000/HplCC1000C.nc
Remove bogus 'tab:4' and 'tab:2' markers.
[tinyos-2.x.git] / tos / platforms / mica2 / chips / cc1000 / HplCC1000C.nc
index 7fcf6500b21712ae913ab7ca1bb329a0be3a0d86..cce98d0a5de457ef7be4d8ecfc130aaf54c856ea 100644 (file)
@@ -1,5 +1,5 @@
 // $Id$
-/*                                                                     tab:4
+/*
  * "Copyright (c) 2004-2005 The Regents of the University  of California.  
  * All rights reserved.
  *
  */
 configuration HplCC1000C {
   provides {
-    interface Read<uint16_t> as RssiAdc;
+    interface ReadNow<uint16_t> as RssiAdc;
+    interface Resource as RssiResource;
     interface HplCC1000Spi;
     interface HplCC1000;
   }
 }
 implementation {
   components HplCC1000P, HplCC1000SpiP;
-  components new AdcReadClientC() as RssiChannel;
+  components new AdcReadNowClientC() as RssiChannel;
 
   HplCC1000 = HplCC1000P;
   HplCC1000Spi = HplCC1000SpiP;
   RssiAdc = RssiChannel;
+  RssiResource = RssiChannel;
 
   RssiChannel.Atm128AdcConfig -> HplCC1000P;