drivers: eth: mcux: use CONFIG_SYS_LOG_ETHERNET_LEVEL for syslog level
Don't hard code the syslog level to DEBUG, instead use the CONFIG_SYS_LOG_ETHERNET_LEVEL setting like other ethernet drivers. Signed-off-by: Michael Scott <michael@opensourcefoundries.com>
This commit is contained in:
parent
f1eda7b9e0
commit
30dbf3c0e5
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
*/
|
||||
|
||||
#define SYS_LOG_DOMAIN "dev/eth_mcux"
|
||||
#define SYS_LOG_LEVEL SYS_LOG_LEVEL_DEBUG
|
||||
#define SYS_LOG_LEVEL CONFIG_SYS_LOG_ETHERNET_LEVEL
|
||||
#include <logging/sys_log.h>
|
||||
|
||||
#include <board.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue