X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Flib%2Fdebug%2FNoDebugP.nc;fp=tos%2Flib%2Fdebug%2FNoDebugP.nc;h=e85fe17245b25d6208963aa1d15a4b013ea3a4bc;hp=0000000000000000000000000000000000000000;hb=c40d959ed0b5880f73809836eadddd72a7c277d6;hpb=eb7d4fbd7e465dd1a4a8450111ec93af2dce936b diff --git a/tos/lib/debug/NoDebugP.nc b/tos/lib/debug/NoDebugP.nc new file mode 100644 index 00000000..e85fe172 --- /dev/null +++ b/tos/lib/debug/NoDebugP.nc @@ -0,0 +1,23 @@ +/* Copyright (c) 2006-2007 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 simple debug component. + */ + +#include + +module NoDebugP { + provides interface Debug; +} +implementation { + async command uprint_ptr_t Debug.uptr() { return NULL; } + async command void Debug.raw(const void* string, uint16_t len) {} + async command void Debug.byteAsBits(uint8_t byte) {} + async command void Debug.hexdump(const void* addr, uint16_t len) {} +}