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

legacy: fix SCA when displaying the PIN matrix

This commit is contained in:
Pavol Rusnak 2019-07-25 11:45:56 +02:00
parent f16c941ed4
commit f237a26137
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();
}