boards: arm: thingy53: Fix default USB related log levels
Previous method of setting default USB related log levels for Thingy53
led to generating inconsistent configuration, ex.
CONFIG_USB_CDC_ACM_LOG_LEVEL=0 and CONFIG_USB_CDC_ACM_LOG_LEVEL_INF=y
at the same time. This commit changes to proper implementation
which is overlaying choice's default.
@@ -114,12 +114,14 @@ config USB_DEVICE_REMOTE_WAKEUP
if LOG
# Logger cannot use itself to log
-config USB_CDC_ACM_LOG_LEVEL
- default 0
+choice USB_CDC_ACM_LOG_LEVEL_CHOICE
+ default USB_CDC_ACM_LOG_LEVEL_OFF
+endchoice
# Set USB log level to error only
-config USB_DEVICE_LOG_LEVEL
- default 1
+choice USB_DEVICE_LOG_LEVEL_CHOICE
+ default USB_DEVICE_LOG_LEVEL_ERR
+endchoice
# Wait 4000ms at startup for logging
config LOG_PROCESS_THREAD_STARTUP_DELAY_MS
