1/* 2 * Copyright (c) 2007-12 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, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 8 */ 9 10#ifndef DEVICE_MANAGER_DEBUG_H_ 11#define DEVICE_MANAGER_DEBUG_H_ 12 13 14/***************************************************************** 15 * Debug printer: 16 *****************************************************************/ 17 18//#define DEVICE_MNG_SERVICE_DEBUG 1 19 20#if defined(DEVICE_MNG_SERVICE_DEBUG) || defined(GLOBAL_DEBUG) 21#define NDM_DEBUG(x...) printf("NDM: " x) 22#else 23#define NDM_DEBUG(x...) ((void)0) 24#endif // defined(DEVICE_MNG_SERVICE_DEBUG) || defined(GLOBAL_DEBUG) 25 26#endif // DEVICE_MANAGER_DEBUG_H_ 27 28