drivers/syslog: Rename SYSLOG_NONE to SYSLOG_DEFAULT

Since syslog still output if ARCH_LOWPUTC == y and select the default syslog device by ARCH_LOWPUTC
This commit is contained in:
Xiang Xiao 2020-02-23 00:15:59 +08:00 committed by Gregory Nutt
parent 8ca4ca5ae8
commit ebdfc93ee3
1 changed files with 5 additions and 5 deletions

View File

@ -128,8 +128,8 @@ config SYSLOG_PREFIX_STRING
choice
prompt "System log device"
default SYSLOG_CONSOLE if DEV_CONSOLE
default SYSLOG_NONE if !DEV_CONSOLE
default SYSLOG_CONSOLE if !ARCH_LOWPUTC
default SYSLOG_DEFAULT if ARCH_LOWPUTC
depends on !ARCH_SYSLOG
config SYSLOG_CHAR
@ -164,11 +164,11 @@ config SYSLOG_RPMSG
---help---
Use the rpmsg as a SYSLOG output device, send message to remote proc.
config SYSLOG_NONE
bool "No SYSLOG device"
config SYSLOG_DEFAULT
bool "Default SYSLOG device"
---help---
syslog() interfaces will be present, but all output will go to the
bit-bucket.
up_putc(ARCH_LOWPUTC == y) or bit-bucket(ARCH_LOWPUTC == n).
endchoice