Skip to content

Commit

Permalink
[clean] Replace deprecated #defines with their replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
lpascal-ledger committed May 16, 2024
1 parent e0d514f commit 3d2cc4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/checks.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void ui_audited_choice(bool choice)
void ui_audited_init(void)
{
auditChoiceMade = false;
nbgl_useCaseChoice(&C_warning64px,
nbgl_useCaseChoice(&C_Warning_64px,
"Pending Ledger review",
"This app has not been\nreviewed by Ledger",
"Open",
Expand Down
2 changes: 1 addition & 1 deletion src/ledger_assert.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void __attribute__((noreturn)) assert_display_exit(void)
#if defined(TARGET_NANOS) || defined(TARGET_NANOX) || defined(TARGET_NANOS2)
#define ICON_APP_WARNING C_icon_warning
#elif defined(TARGET_STAX) || defined(TARGET_FLEX)
#define ICON_APP_WARNING C_round_warning_64px
#define ICON_APP_WARNING C_Important_Circle_64px
#endif

nbgl_useCaseChoice(
Expand Down

0 comments on commit 3d2cc4f

Please sign in to comment.