From 69b40843dc5a814476e480e2464c6bf73284ff3f Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Fri, 1 Dec 2023 18:43:30 +0100 Subject: [PATCH] Hotfix fix for API_LEVEL_14 fix --- src_nbgl/ui_sign_712.c | 2 +- src_nbgl/ui_sign_message.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src_nbgl/ui_sign_712.c b/src_nbgl/ui_sign_712.c index e1163f70c6..d4ba5d2f6c 100644 --- a/src_nbgl/ui_sign_712.c +++ b/src_nbgl/ui_sign_712.c @@ -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 defined API_LEVEL && (API_LEVEL == 0 || API_LEVEL >= 14) &len, false); #else diff --git a/src_nbgl/ui_sign_message.c b/src_nbgl/ui_sign_message.c index d2f1f1c7d7..acdb5aec0a 100644 --- a/src_nbgl/ui_sign_message.c +++ b/src_nbgl/ui_sign_message.c @@ -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 defined API_LEVEL && (API_LEVEL == 0 || API_LEVEL >= 14) &len, false); #else