X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Flib%2Fdebug%2FDebug_undef.h;fp=tos%2Flib%2Fdebug%2FDebug_undef.h;h=3d6b373f458df8f8a5299c8f17eb1790cb70b137;hp=0000000000000000000000000000000000000000;hb=c40d959ed0b5880f73809836eadddd72a7c277d6;hpb=eb7d4fbd7e465dd1a4a8450111ec93af2dce936b diff --git a/tos/lib/debug/Debug_undef.h b/tos/lib/debug/Debug_undef.h new file mode 100644 index 00000000..3d6b373f --- /dev/null +++ b/tos/lib/debug/Debug_undef.h @@ -0,0 +1,23 @@ +/* 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. + */ + +/** + * TinyOS debug layer offering printf-style functionality. + * + * This module sets the debug function macros to no-op. See Debug.h for more + * information. + * + * @author R. Steve McKown + */ + +#undef dbg_printf +#undef dbg_assert + +#define dbg_printf(args...) ((void)0) +#define dbg_assert(condition, args...) ((void)0)