]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/eyesIFX/PlatformSerialC.nc
Fix compile crash.
[tinyos-2.x.git] / tos / platforms / eyesIFX / PlatformSerialC.nc
index 91e9b3e3673935064669ac69c81d8bc2c3689dfc..22947c7706b4051993575f54ce0f6f9eca7c8868 100644 (file)
@@ -1,14 +1,12 @@
 configuration PlatformSerialC {
-  provides interface Init;
   provides interface StdControl;
-  provides interface SerialByteComm;
+  provides interface UartStream;
 }
 implementation {
-  components new Uart1C() as UartC, eyesIFXSerialP;
+  components new Msp430Uart1C() as UartC, eyesIFXSerialP;
 
-  Init = UartC;
-  StdControl = UartC;
-  SerialByteComm = UartC;
+  UartStream = UartC;
   StdControl = eyesIFXSerialP;
+  eyesIFXSerialP.Msp430UartConfigure <- UartC.Msp430UartConfigure;
   eyesIFXSerialP.Resource -> UartC.Resource;
 }