mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 11:28:14 +00:00
Merge pull request #7 from runn1ng/master
correcting transponed QR code
This commit is contained in:
commit
0981ed98b6
@ -224,7 +224,7 @@ void layoutAddress(const char *address)
|
||||
oledInvert(0, 0, (side + 2) * 2, (side + 2) * 2);
|
||||
for (i = 0; i < side; i++) {
|
||||
for (j = 0; j< side; j++) {
|
||||
a = i * side + j;
|
||||
a = j * side + i;
|
||||
if (bitdata[a / 8] & (1 << (7 - a % 8))) {
|
||||
oledClearPixel(2 + i * 2, 2 + j * 2);
|
||||
oledClearPixel(3 + i * 2, 2 + j * 2);
|
||||
|
Loading…
Reference in New Issue
Block a user