]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/usci/Msp430SpiB1C.nc
Let's let the compiler type system work for us. Instead of having a single
[tinyos-2.x.git] / tos / chips / msp430 / usci / Msp430SpiB1C.nc
index 9464555f812fde0fc5aa1f6a2fe202d5216f733f..9cfd71db4ec0b46bd3e8e9b97b178efb4ece9a40 100644 (file)
@@ -48,8 +48,7 @@ generic configuration Msp430SpiB1C() {
     interface SpiPacket;
     interface ArbiterInfo; /* ??? */
   }
-  uses interface AsyncConfigure<const msp430_usci_config_t*> as
-    Msp430UsciConfigure;
+  uses interface AsyncConfigure<const msp430_usci_spi_t*> as Configure;
 }
 implementation {
   enum {
@@ -59,7 +58,7 @@ implementation {
   components new Msp430SpiP() as SpiP;
   SpiByte = SpiP;
   SpiPacket = SpiP;
-  Msp430UsciConfigure = SpiP;
+  Configure = SpiP;
 
   components Msp430UsciA0C as UsciC;
   Resource = UsciC.Resource[CLIENT_ID];