diff --git a/app/src/json/json_parser.h b/app/src/json/json_parser.h index e62677cd..2fd1e36e 100644 --- a/app/src/json/json_parser.h +++ b/app/src/json/json_parser.h @@ -36,7 +36,7 @@ extern "C" { // we must limit the number #if defined(TARGET_NANOS) #undef MAX_NUMBER_OF_TOKENS -#define MAX_NUMBER_OF_TOKENS 70 +#define MAX_NUMBER_OF_TOKENS 96 #endif #if defined(TARGET_STAX) diff --git a/app/src/parser_txdef.h b/app/src/parser_txdef.h index c3c75146..33e2754d 100644 --- a/app/src/parser_txdef.h +++ b/app/src/parser_txdef.h @@ -43,7 +43,11 @@ typedef struct screen_arg_t { typedef struct tx_textual_t{ size_t n_containers; uint8_t n_expert; +#if defined(TARGET_NANOS) + uint8_t tmpBuffer[200]; +#else uint8_t tmpBuffer[625]; +#endif } tx_textual_t; typedef struct {