From 7448d412b05bc6dc1f6a0b92da51248aed741fd5 Mon Sep 17 00:00:00 2001 From: ftheirs Date: Fri, 12 Jan 2024 08:13:30 -0300 Subject: [PATCH] restore old maximum token number --- app/Makefile | 2 +- app/src/json/json_parser.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Makefile b/app/Makefile index bde6b7ea..bd8bf6a0 100755 --- a/app/Makefile +++ b/app/Makefile @@ -52,7 +52,7 @@ endif APP_LOAD_PARAMS = --curve secp256k1 $(COMMON_LOAD_PARAMS) --path $(APPPATH) -NANOS_STACK_SIZE := 1890 +NANOS_STACK_SIZE := 1475 include $(CURDIR)/../deps/ledger-zxlib/makefiles/Makefile.devices $(info TARGET_NAME = [$(TARGET_NAME)]) diff --git a/app/src/json/json_parser.h b/app/src/json/json_parser.h index dc0b0ffd..95c0c1db 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)