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:
parent
f16c941ed4
commit
f237a26137
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user