mirror of
https://github.com/esphome/esphome.git
synced 2026-05-22 10:25:46 +08:00
[uart][usb_uart] Add debug_prefix option to distinguish multiple defined uarts in log (#14525)
This commit is contained in:
@@ -34,3 +34,11 @@ usb_uart:
|
||||
- id: channel_4_1
|
||||
debug: true
|
||||
dummy_receiver: true
|
||||
debug_prefix: "[ESP_JTAG] "
|
||||
- id: uart_5
|
||||
type: cp210x
|
||||
channels:
|
||||
- id: channel_5_1
|
||||
baud_rate: 9600
|
||||
debug: true
|
||||
debug_prefix: "[CP210X] "
|
||||
|
||||
Reference in New Issue
Block a user