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