mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 17:05:21 +01:00
fix compilation error for libretiny (#6064)
This commit is contained in:
parent
48a4e6bae9
commit
da56d333dc
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ async def component_to_code(config):
|
||||||
lt_options["LT_UART_SILENT_ENABLED"] = 0
|
lt_options["LT_UART_SILENT_ENABLED"] = 0
|
||||||
lt_options["LT_UART_SILENT_ALL"] = 0
|
lt_options["LT_UART_SILENT_ALL"] = 0
|
||||||
# set default UART port
|
# set default UART port
|
||||||
if uart_port := framework.get(CONF_UART_PORT, None) is not None:
|
if (uart_port := framework.get(CONF_UART_PORT, None)) is not None:
|
||||||
lt_options["LT_UART_DEFAULT_PORT"] = uart_port
|
lt_options["LT_UART_DEFAULT_PORT"] = uart_port
|
||||||
# add custom options
|
# add custom options
|
||||||
lt_options.update(framework[CONF_OPTIONS])
|
lt_options.update(framework[CONF_OPTIONS])
|
||||||
|
|
Loading…
Reference in a new issue