X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmicore%2FPlatformSerialC.nc;h=a32ffa043c1c5957b74b39f2e8a7a6e1389eb49e;hb=0eb562ef9d518dd35b5dd52c7afb7fef75ee1680;hp=06cb3241843f4fd3b2bc3915e2d9ac33241c004d;hpb=c6f9fe58c7f6e9dc9849777fb0a2dcf96b7d9177;p=tinyos-2.x.git diff --git a/tos/platforms/tmicore/PlatformSerialC.nc b/tos/platforms/tmicore/PlatformSerialC.nc index 06cb3241..a32ffa04 100644 --- a/tos/platforms/tmicore/PlatformSerialC.nc +++ b/tos/platforms/tmicore/PlatformSerialC.nc @@ -26,27 +26,22 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - + /** * @author R. Steve McKown */ - + configuration PlatformSerialC { provides interface StdControl; provides interface UartStream; 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 }