Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz authored Sep 17, 2024
1 parent 0eb4971 commit ce3f956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/BalboaGL/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def valid_uart(uart):

@coroutine
def to_code(config):
serial = "Serial"
serial = cg.global_ns.Serial1
# HARDWARE_UART_TO_SERIAL[PLATFORM_ESP32][config[CONF_HARDWARE_UART]]
var = cg.new_Pvariable(config[CONF_ID], cg.RawExpression(f"&{serial}"))

Expand Down

0 comments on commit ce3f956

Please sign in to comment.