mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
netutils/ptpd: using DEBUG_PTP_ERR/WARN/INFO to replace NETUTILS_PTPD_DEBUG
using new ptp clock device debug function Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
e4ddfdeed1
commit
d1f59bef8e
2 changed files with 0 additions and 17 deletions
|
|
@ -17,13 +17,6 @@ config NETUTILS_PTPD
|
|||
|
||||
if NETUTILS_PTPD
|
||||
|
||||
config NETUTILS_PTPD_DEBUG
|
||||
bool "Enable PTP debug messages"
|
||||
default n
|
||||
depends on DEBUG_INFO
|
||||
---help---
|
||||
Enable PTP debug messages even if CONFIG_DEBUG_NET_INFO is not enabled.
|
||||
|
||||
config NETUTILS_PTPD_CLIENT
|
||||
bool "Enable client support"
|
||||
default y
|
||||
|
|
|
|||
|
|
@ -172,16 +172,6 @@ struct ptp_state_s
|
|||
* debugging without having excessive amount of logging from net.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_NETUTILS_PTPD_DEBUG
|
||||
# define ptpinfo _info
|
||||
# define ptpwarn _warn
|
||||
# define ptperr _err
|
||||
#else
|
||||
# define ptpinfo ninfo
|
||||
# define ptpwarn nwarn
|
||||
# define ptperr nerr
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue