From 5be852ca9fb424aab4638c59ca1cdf131dcf7869 Mon Sep 17 00:00:00 2001 From: Shahul Hameed <10547529+shahthepro@users.noreply.github.com> Date: Wed, 31 Jan 2024 14:44:10 +0400 Subject: [PATCH] Move arg to the top --- src/plugin.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugin.h b/src/plugin.h index edc48244..35817064 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -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;