fix(logging): Disable USB driver logging.
When enabling our high level USB logging, disable the USB driver logging itself entirely, to avoid logging in the driver causing errors when USB isn't up yet to send the logs.
This commit is contained in:
parent
31f664ffec
commit
2f9bc2f1f7
1 changed files with 9 additions and 2 deletions
11
app/Kconfig
11
app/Kconfig
|
@ -419,9 +419,16 @@ if ZMK_USB_LOGGING
|
||||||
config ZMK_LOG_LEVEL
|
config ZMK_LOG_LEVEL
|
||||||
default 4
|
default 4
|
||||||
|
|
||||||
|
choice USB_CDC_ACM_LOG_LEVEL_CHOICE
|
||||||
|
default USB_CDC_ACM_LOG_LEVEL_OFF
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
choice USB_DRIVER_LOG_LEVEL_CHOICE
|
||||||
|
default USB_DRIVER_LOG_LEVEL_OFF
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
# We do this to avoid log loop where logging to USB generates more log messages.
|
# We do this to avoid log loop where logging to USB generates more log messages.
|
||||||
config USB_CDC_ACM_LOG_LEVEL
|
|
||||||
default 1
|
|
||||||
|
|
||||||
config USB_CDC_ACM_RINGBUF_SIZE
|
config USB_CDC_ACM_RINGBUF_SIZE
|
||||||
default 1024
|
default 1024
|
||||||
|
|
Loading…
Add table
Reference in a new issue