Skip to content

Commit

Permalink
increase tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
chcmedeiros committed Mar 5, 2024
1 parent a0bd37d commit 1444ba4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/json/json_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions app/src/parser_txdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1444ba4

Please sign in to comment.