Fix stax build for API_LEVEL < 14
This commit is contained in:
@@ -30,8 +30,12 @@ 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
|
||||
&len,
|
||||
false);
|
||||
#else
|
||||
&len);
|
||||
#endif
|
||||
strings.tmp.tmp[len] = '\0';
|
||||
|
||||
pair.item = strings.tmp.tmp2;
|
||||
|
||||
@@ -47,8 +47,12 @@ 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
|
||||
&len,
|
||||
false);
|
||||
#else
|
||||
&len);
|
||||
#endif
|
||||
|
||||
stringsTmpTmpIdx = len - eip191MessageIdx;
|
||||
eip191MessageIdx = len;
|
||||
|
||||
Reference in New Issue
Block a user