1/*
2 * Copyright (c) 2012 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, CAB F.78, Universitaetstr. 6, CH-8092 Zurich,
8 * Attn: Systems Group.
9 */
10
11#ifndef SERIAL_DEBUG_H_
12#define SERIAL_DEBUG_H_
13
14
15/*****************************************************************
16 * Debug printer:
17 *****************************************************************/
18
19#if defined(SERIAL_DRIVER_DEBUG) || defined(GLOBAL_DEBUG)
20#define SERIAL_DEBUG(arg...) debug_printf(arg)
21#else
22#define SERIAL_DEBUG(arg...) ((void)0)
23#endif
24
25#endif // SERIAL_DEBUG_H_
26