19 lines
337 B
C
19 lines
337 B
C
#ifndef __DBG_H
|
|
#define __DBG_H
|
|
|
|
#include "conn.h"
|
|
|
|
void cw_dbg_elem_(struct conn * conn, int msg, int msgelem, const uint8_t * msgbuf, int len);
|
|
|
|
|
|
#ifdef WITH_CW_LOG_DEBUG
|
|
|
|
#define cw_dbg_elem(conn,msgtype,msgelemtype,msgbuf,msglen) cw_dbg_elem_(conn,msgtype,msgelemtype,msgbuf,msglen)
|
|
|
|
#else
|
|
|
|
#define cw_dbg_elem(...)
|
|
#endif
|
|
|
|
#endif
|