8000 Merge pull request #274 from daviel/master · genvex/lv_binding_micropython@e0f97fc · GitHub
[go: up one dir, main page]

Skip to content

Commit e0f97fc

Browse files
authored
Merge pull request lvgl#274 from daviel/master
Update lv_timer.py - Support systems where pointer size is 32 bit instead of 64 bit.
2 parents e4cc766 + bb1f209 commit e0f97fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/linux/lv_timer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444

4545
sigevent_t = {
4646
"sigev_value": (0, sigval_t),
47-
"sigev_signo": 8 | uctypes.INT32,
48-
"sigev_notify": 12 | uctypes.INT32,
47+
"sigev_signo": uctypes.sizeof(sigval_t) | uctypes.INT32,
48+
"sigev_notify": (uctypes.sizeof(sigval_t) + 4) | uctypes.INT32,
4949
}
5050

5151
timespec_t = {

0 commit comments

Comments
 (0)
0