1/* 2 * Copyright (c) 2007, 2008, ETH Zurich. 3 * All rights reserved. 4 * 5 * This file is distributed under the terms in the attached LICENSE file. 6 * If you do not find this file, copies can be found by writing to: 7 * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. 8 */ 9 10#ifndef LPC_TIMER_DEBUG_H 11#define LPC_TIMER_DEBUG_H 12 13 14/***************************************************************** 15 * Debug printer: 16 *****************************************************************/ 17#if defined(LPC_TIMER_DEBUG) /* || defined(GLOBAL_DEBUG) -- too noisy! */ 18#define LPC_DEBUG(x...) printf("lpc_timer: " x) 19#else 20#define LPC_DEBUG(x...) ((void)0) 21#endif 22#endif // LPC_TIMER_DEBUG_H 23