mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-08 07:38:11 +00:00
fix(core): use correct size in STMPE811 touch_init()
[no changelog]
This commit is contained in:
parent
7f5a8b29c6
commit
acbace7c3e
@ -49,7 +49,7 @@ secbool touch_init(void) {
|
||||
return sectrue;
|
||||
}
|
||||
|
||||
memset(drv, 0, sizeof(drv));
|
||||
memset(drv, 0, sizeof(*drv));
|
||||
|
||||
drv->i2c_bus = i2c_bus_open(TOUCH_I2C_INSTANCE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user