This commit is contained in:
刘可亮
2024-06-04 19:00:30 +08:00
parent 990c72f5be
commit 0a13af6a1d
1668 changed files with 342810 additions and 37726 deletions

View File

@@ -45,4 +45,7 @@ menu "realtek wlan Parameter"
string "wlan0 netmask"
default "255.255.255.0"
config AIC_DEV_REALTEK_DEBUG
bool "Enable Realtek driver debug information"
default y
endmenu

View File

@@ -26,7 +26,7 @@ unsigned int g_prioritie_offset = 4;
//----- ------------------------------------------------------------------
// Misc Function
//----- ------------------------------------------------------------------
#ifdef AIC_DEV_REALTEK_DEBUG
int rtw_printf(const char *format, ...)
{
va_list args;
@@ -43,6 +43,12 @@ int rtw_printf(const char *format, ...)
va_end(args);
return n;
}
#else
int rtw_printf(const char *format, ...)
{
return 0;
}
#endif
#if CONFIG_MP_LOG_FUNC_INDEPENDENT
int rtw_mplog(const char *format, ...)