diff --git a/core/embed/trezorhal/unix/systimer.c b/core/embed/trezorhal/unix/systimer.c index a678efd982..1088f96bbd 100644 --- a/core/embed/trezorhal/unix/systimer.c +++ b/core/embed/trezorhal/unix/systimer.c @@ -38,7 +38,7 @@ void systimer_init(void) { return; } - memset(&drv, 0, sizeof(systimer_driver_t)); + memset(drv, 0, sizeof(systimer_driver_t)); drv->initialized = true; }