]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/debug/Debug_undef.h
Add debug library; use with tmimsp platforms
[tinyos-2.x.git] / tos / lib / debug / Debug_undef.h
diff --git a/tos/lib/debug/Debug_undef.h b/tos/lib/debug/Debug_undef.h
new file mode 100644 (file)
index 0000000..3d6b373
--- /dev/null
@@ -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 <rsmckown@gmail.com>
+ */
+
+#undef dbg_printf
+#undef dbg_assert
+
+#define dbg_printf(args...) ((void)0)
+#define dbg_assert(condition, args...) ((void)0)