1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

legacy: fix SCA when displaying the PIN matrix

(cherry picked from commit f237a26137)
This commit is contained in:
Pavol Rusnak 2019-07-25 11:45:56 +02:00
parent 1c9fa5d3c6
commit 9107731079
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -45,6 +45,10 @@ void pinmatrix_draw(const char *text) {
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();
}