fix(example): Remove struct cast (#4330)

This commit is contained in:
Amir Gonnen
2023-07-03 11:25:18 +03:00
committed by GitHub
parent 242654adb8
commit 9783f2632e

View File

@@ -3,7 +3,7 @@ class KeyboardEncoder:
self.g = lv.group_create()
self.g.set_default()
cur_drv = lv.indev_t.__cast__(None)
cur_drv = lv.indev_t()
while True:
cur_drv = cur_drv.get_next()