X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Flib%2Fuprintf%2FUprintC.nc;fp=tos%2Flib%2Fuprintf%2FUprintC.nc;h=04a38f25cedcf4d17e053c2154552114d61f825e;hp=0000000000000000000000000000000000000000;hb=eb7d4fbd7e465dd1a4a8450111ec93af2dce936b;hpb=46696d41fef125e00b09b24a378f106d1347526f diff --git a/tos/lib/uprintf/UprintC.nc b/tos/lib/uprintf/UprintC.nc new file mode 100644 index 00000000..04a38f25 --- /dev/null +++ b/tos/lib/uprintf/UprintC.nc @@ -0,0 +1,21 @@ +/* Copyright (c) 2006-2009 by Sporian Microsystems, Inc. + * All Rights Reserved. + * + * This document is the proprietary and confidential property of Sporian + * Microsystems, Inc. All use, distribution, reproduction or re-distribution + * is disallowed without the prior express written consent of Sporian + * Microsystems, Inc. + */ + +/* A shim for printf on a uart. + */ + +generic configuration UprintC() { + provides interface Uprint; + uses interface UartByte; +} +implementation { + components new UprintP(); + Uprint = UprintP; + UartByte = UprintP; +}