1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-05 11:23:47 +01:00

[lvgl] Make line points templatable (#8502)

This commit is contained in:
Clyde Stubbs
2025-04-09 09:03:29 +10:00
committed by GitHub
parent 1c72fd4674
commit 6240bfff97
8 changed files with 80 additions and 38 deletions

View File

@@ -285,10 +285,6 @@ class LvExpr(MockLv):
pass
def static_cast(type, value):
return literal(f"static_cast<{type}>({value})")
# Top level mock for generic lv_ calls to be recorded
lv = MockLv("lv_")
# Just generate an expression