Update display.py

This commit is contained in:
Sascha Seidel
2023-10-30 22:30:42 +01:00
committed by GitHub
parent 7a6b493b45
commit d144efdba0

View File

@@ -49,6 +49,6 @@ async def to_code(config):
if CONF_LAMBDA in config:
lambda_ = await cg.process_lambda(
config[CONF_LAMBDA], [(display.DisplayBufferRef, "it")], return_type=cg.void
config[CONF_LAMBDA], [(display.DisplayRef, "it")], return_type=cg.void
)
cg.add(var.set_writer(lambda_))