Skip to content

Commit

Permalink
Move arg to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro committed Jan 31, 2024
1 parent d51fb5a commit 5be852c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,15 @@ typedef struct context_s {
uint8_t decimals_received;
uint8_t skip;

bool go_to_offset; // If set, will force the parsing to iterate through parameters until
// `offset` is reached.
uint8_t amount_length;

// For parsing data.
uint8_t next_param; // Set to be the next param we expect to parse.
uint8_t counter;
uint16_t offset; // Offset at which the array or struct starts.
bool go_to_offset; // If set, will force the parsing to iterate through parameters until
// `offset` is reached.

// For both parsing and display.
selector_t selectorIndex;
} context_t;
Expand Down

0 comments on commit 5be852c

Please sign in to comment.