* fix DEBUGP defines, activate DEBUG functionality
* fix typo in db_transmission function
This commit is contained in:
parent
f6b7a9054c
commit
3633a6daf9
|
@ -311,6 +311,6 @@ int abis_nm_set_channel_attr(struct gsm_bts_trx_ts *ts, u_int8_t chan_comb);
|
|||
int abis_nm_raw_msg(struct gsm_bts *bts, int len, u_int8_t *msg);
|
||||
int abis_nm_event_reports(struct gsm_bts *bts, int on);
|
||||
int abis_nm_reset_resource(struct gsm_bts *bts);
|
||||
int abis_nm_db_transaction(struct gsm_bts *bts, int begin);
|
||||
int abis_nm_db_transmission(struct gsm_bts *bts, int begin);
|
||||
|
||||
#endif /* _NM_H */
|
||||
|
|
|
@ -1,13 +1,18 @@
|
|||
#ifndef _DEBUG_H
|
||||
#define _DEBUG_H
|
||||
|
||||
#define DEBUG
|
||||
|
||||
#define DRLL 0x0001
|
||||
#define DCC 0x0002
|
||||
#define DMM 0x0004
|
||||
#define DRR 0x0008
|
||||
#define DRSL 0x0010
|
||||
#define DNM 0x0020
|
||||
#define DMI 0x1000
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DEBUGP(ss, args, ...) debugp(ss, args, ...)
|
||||
#define DEBUGP(ss, args...) debugp(ss, __FILE__, __LINE__, ## args)
|
||||
#else
|
||||
#define DEBUGP(xss, args, ...)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue