]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/usci/Msp430UartA0C.nc
Let's let the compiler type system work for us. Instead of having a single
[tinyos-2.x.git] / tos / chips / msp430 / usci / Msp430UartA0C.nc
index dd310326a84a85c8de3b2eedea432e1d211bd10c..1ffc4404c9ed93e5ad8fb3078d59c04ad449558d 100644 (file)
@@ -48,8 +48,7 @@ generic configuration Msp430UartA0C() {
     interface UartByte;
     interface ArbiterInfo; /* ??? */
   }
-  uses interface AsyncConfigure<const msp430_usci_config_t*> as
-    Msp430UsciConfigure;
+  uses interface AsyncConfigure<const msp430_usci_uart_t*> as Configure;
 }
 implementation {
   enum {
@@ -59,7 +58,7 @@ implementation {
   components new Msp430UartP() as UartP;
   UartStream = UartP;
   UartByte = UartP;
-  Msp430UsciConfigure = UartP;
+  Configure = UartP;
 
   components Msp430UsciA0C as UsciC;
   Resource = UsciC.Resource[CLIENT_ID];