diff --git a/components/BalboaGL/__init__.py b/components/BalboaGL/__init__.py index b0945fe..bb46c6f 100644 --- a/components/BalboaGL/__init__.py +++ b/components/BalboaGL/__init__.py @@ -65,7 +65,8 @@ def valid_uart(uart): @coroutine def to_code(config): - # serial = HARDWARE_UART_TO_SERIAL[PLATFORM_ESP32][config[CONF_HARDWARE_UART]] + serial = "Serial" + # HARDWARE_UART_TO_SERIAL[PLATFORM_ESP32][config[CONF_HARDWARE_UART]] var = cg.new_Pvariable(config[CONF_ID], cg.RawExpression(f"&{serial}")) cg.add_define("tubUART 1") # TODO make dynamic