Fix a symbol conflict between hptrr and hptmv
This commit is contained in:
parent
4320a38bdb
commit
29a1384601
@ -298,5 +298,5 @@ void __os_dbgbreak(const char *file, int line)
|
||||
while (1);
|
||||
}
|
||||
|
||||
int hpt_dbg_level = 1;
|
||||
int hptrr_dbg_level = 1;
|
||||
#endif
|
||||
|
@ -188,8 +188,8 @@ HPT_U8 os_get_vbus_seq(void *osext);
|
||||
int os_printk(char *fmt, ...);
|
||||
|
||||
#ifdef DBG
|
||||
extern int hpt_dbg_level;
|
||||
#define KdPrint(x) do { if (hpt_dbg_level) os_printk x; } while (0)
|
||||
extern int hptrr_dbg_level;
|
||||
#define KdPrint(x) do { if (hptrr_dbg_level) os_printk x; } while (0)
|
||||
void __os_dbgbreak(const char *file, int line);
|
||||
#define os_dbgbreak() __os_dbgbreak(__FILE__, __LINE__)
|
||||
#define HPT_ASSERT(x) do { if (!(x)) os_dbgbreak(); } while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user