X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmicore%2FPlatformSerialC.nc;fp=tos%2Fplatforms%2Ftmicore%2FPlatformSerialC.nc;h=06cb3241843f4fd3b2bc3915e2d9ac33241c004d;hb=c6f9fe58c7f6e9dc9849777fb0a2dcf96b7d9177;hp=35b1d8c6e36df6175547f160fbb782ac863e8bf5;hpb=3d98c9a5b507e9aee1e4b4e0232d083c670e518d;p=tinyos-2.x.git diff --git a/tos/platforms/tmicore/PlatformSerialC.nc b/tos/platforms/tmicore/PlatformSerialC.nc index 35b1d8c6..06cb3241 100644 --- a/tos/platforms/tmicore/PlatformSerialC.nc +++ b/tos/platforms/tmicore/PlatformSerialC.nc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, Titanium Mirror, Inc. + * Copyright (c) 2008-2010, Titanium Mirror, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -32,16 +32,19 @@ */ configuration PlatformSerialC { - provides interface Resource; + provides interface StdControl; provides interface UartStream; provides interface UartByte; } implementation { components new Msp430UartA1C() as UartC; - Resource = 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;