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:
@@ -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
|
||||
|
Reference in New Issue
Block a user