mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ttfw: only send relevant DUT kwargs to serial.serial_for_url
This commit is contained in:
parent
695f075a13
commit
26f6136a7d
@ -751,7 +751,9 @@ class SerialDUT(BaseDUT):
|
||||
def __init__(self, name, port, log_file, app, **kwargs):
|
||||
self.port_inst = None
|
||||
self.serial_configs = self.DEFAULT_UART_CONFIG.copy()
|
||||
self.serial_configs.update(kwargs)
|
||||
for uart_config_name in self.serial_configs.keys():
|
||||
if uart_config_name in kwargs:
|
||||
self.serial_configs[uart_config_name] = kwargs[uart_config_name]
|
||||
super(SerialDUT, self).__init__(name, port, log_file, app, **kwargs)
|
||||
|
||||
def _format_data(self, data):
|
||||
|
Loading…
x
Reference in New Issue
Block a user