legacy: fix SCA when displaying the PIN matrix

(cherry picked from commit f237a26137)
pull/393/head
Pavol Rusnak 5 years ago
parent 1c9fa5d3c6
commit 9107731079
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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…
Cancel
Save