X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fplatforms%2Ftmicore%2FPlatformSerialC.nc;h=a32ffa043c1c5957b74b39f2e8a7a6e1389eb49e;hp=28f4354ed1c17757958ed94c222b22a6bbd38567;hb=40caf9c26fdd0bf045b7ce19148b9ba6e1a78b36;hpb=245d1ab65b4b068764b60fefdc7f1978851f1e7c diff --git a/tos/platforms/tmicore/PlatformSerialC.nc b/tos/platforms/tmicore/PlatformSerialC.nc index 28f4354e..a32ffa04 100644 --- a/tos/platforms/tmicore/PlatformSerialC.nc +++ b/tos/platforms/tmicore/PlatformSerialC.nc @@ -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 }