mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 17:38:39 +00:00
legacy: fix SCA when displaying the PIN matrix
(cherry picked from commit f237a26137
)
This commit is contained in:
parent
1c9fa5d3c6
commit
9107731079
@ -45,6 +45,10 @@ void pinmatrix_draw(const char *text) {
|
|||||||
bmp_digits[k]);
|
bmp_digits[k]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for (int i = 0; i < 3; i++) {
|
||||||
|
oledSCA(12 + i * (h + pad), 12 + i * (h + pad) + h - 1, OLED_WIDTH / 2);
|
||||||
|
oledInvert(0, 12 + i * (h + pad), OLED_WIDTH - 1, 12 + i * (h + pad) + h - 1);
|
||||||
|
}
|
||||||
oledRefresh();
|
oledRefresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user