Merge pull request #505 from LedgerHQ/fbe/fix_api_level_14_fix

Hotfix fix for API_LEVEL_14 fix
This commit is contained in:
François Beutin
2023-12-01 18:52:27 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ static bool display_review_page(uint8_t page, nbgl_pageContent_t *content) {
strings.tmp.tmp,
SCREEN_WIDTH - (2 * BORDER_MARGIN),
NB_MAX_LINES_IN_REVIEW,
#if API_LEVEL >= 14
#if (API_LEVEL == 0 || API_LEVEL >= 14)
&len,
false);
#else

View File

@@ -47,7 +47,7 @@ static bool display_message(nbgl_pageContent_t *content) {
(char *) g_stax_shared_buffer,
SCREEN_WIDTH - (2 * BORDER_MARGIN),
NB_MAX_LINES_IN_REVIEW,
#if API_LEVEL >= 14
#if (API_LEVEL == 0 || API_LEVEL >= 14)
&len,
false);
#else