Skip to content

Commit

Permalink
fix(legacy): fix passphrase display issue (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
somebodyLi authored Aug 7, 2024
1 parent 6f9f366 commit a8b4519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legacy/firmware/layout2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ void layoutShowPassphrase(const char *passphrase) {
oledClear();
}
const char **str =
split_message((const uint8_t *)passphrase, strlen(passphrase), 21);
split_message((const uint8_t *)passphrase, strlen(passphrase), 20);
for (int i = 0; i < 3; i++) {
oledDrawString(0, (i + 1) * 9, str[i], FONT_FIXED);
}
Expand Down

0 comments on commit a8b4519

Please sign in to comment.