]> 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 06cb3241843f4fd3b2bc3915e2d9ac33241c004d..a32ffa043c1c5957b74b39f2e8a7a6e1389eb49e 100644 (file)
  * (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 <rsmckown@gmail.com>
  */
+
 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
 }