Skip to content

Commit

Permalink
Merge pull request #497 from LedgerHQ/abo_support_stax_api_level_21
Browse files Browse the repository at this point in the history
Support API_LEVEL_21 for Stax
  • Loading branch information
abonnaudet-ledger authored Jun 24, 2024
2 parents 92c2fbe + 25ff6e3 commit 6aa600a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
Binary file added speculos/cxlib/stax-api-level-cx-21.elf
Binary file not shown.
1 change: 1 addition & 0 deletions speculos/fonts/stax-fonts-21.bin
2 changes: 1 addition & 1 deletion src/launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ int main(int argc, char *argv[])
sdk_version != SDK_API_LEVEL_10 && sdk_version != SDK_API_LEVEL_11 &&
sdk_version != SDK_API_LEVEL_12 && sdk_version != SDK_API_LEVEL_13 &&
sdk_version != SDK_API_LEVEL_14 && sdk_version != SDK_API_LEVEL_15 &&
sdk_version != SDK_API_LEVEL_20) {
sdk_version != SDK_API_LEVEL_20 && sdk_version != SDK_API_LEVEL_21) {
errx(1, "invalid SDK version for the Ledger Stax");
}
break;
Expand Down
1 change: 1 addition & 0 deletions src/sdk.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ typedef enum {
SDK_API_LEVEL_18,
SDK_API_LEVEL_19,
SDK_API_LEVEL_20,
SDK_API_LEVEL_21,
SDK_COUNT
} sdk_version_t;

Expand Down

0 comments on commit 6aa600a

Please sign in to comment.