-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDebug.h
29 lines (25 loc) · 873 Bytes
/
Debug.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// SPDX-License-Identifier: GPL-2.0-only
/*
* Digital Voice Modem - Modem Firmware
* GPLv2 Open Source. Use is subject to license terms.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright (C) 2015,2016,2017 Jonathan Naylor, G4KLX
*
*/
/**
* @file Debug.h
* @ingroup modem_fw
*/
#if !defined(__DEBUG_H__)
#define __DEBUG_H__
#include "Globals.h"
// ---------------------------------------------------------------------------
// Macros
// ---------------------------------------------------------------------------
#define DEBUG1(a) serial.writeDebug((a))
#define DEBUG2(a,b) serial.writeDebug((a),(b))
#define DEBUG3(a,b,c) serial.writeDebug((a),(b),(c))
#define DEBUG4(a,b,c,d) serial.writeDebug((a),(b),(c),(d))
#define DEBUG5(a,b,c,d,e) serial.writeDebug((a),(b),(c),(d),(e))
#endif // __DEBUG_H__