]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/tmicore/PlatformSerialC.nc
PlatformUartC provides Resource; PlatformSerialC provides StdControl.
[tinyos-2.x.git] / tos / platforms / tmicore / PlatformSerialC.nc
index 28f4354ed1c17757958ed94c222b22a6bbd38567..a32ffa043c1c5957b74b39f2e8a7a6e1389eb49e 100644 (file)
@@ -37,16 +37,11 @@ configuration PlatformSerialC {
   provides interface UartByte;
 }
 implementation {
-  components new Msp430UartA1C() as UartC;
+  components PlatformUartC as UartC;
   UartStream = UartC;
   UartByte = UartC;
 
   components PlatformSerialP;
   StdControl = PlatformSerialP;
   PlatformSerialP.Resource -> UartC;
-
-#if 0 /* If you want to change the configuration... */
-  components SomeConfigurationComponentC as ConfigC;
-  UartC.AsyncConfigure -> ConfigC;
-#endif
 }