13 lines
245 B
C
13 lines
245 B
C
|
|
#ifndef _JT808_DEBUG_H_
|
||
|
|
#define _JT808_DEBUG_H_
|
||
|
|
|
||
|
|
#define JT808_DEBUG_ENABLE 1
|
||
|
|
|
||
|
|
#if JT808_DEBUG_ENABLE
|
||
|
|
#include "app_uart.h"
|
||
|
|
#define JT808_DEBUG(fmt, args...) app_printf("[JT808]" fmt, ##args)
|
||
|
|
#else
|
||
|
|
#define JT808_DEBUG(fmt, arg...)
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif
|