FlashStorage
FlashStorage copied to clipboard
Is there a way to store a struct of struct array?
I need to store a struct made of an array of other struct, something like this:
typedef struct {
boolean valid;
char label[20];
char name[20];
} A;
typedef struct {
A arrayOfAs[50];
} B;
....
FlashStorage(flash_B_store, B);
Is there a way to do it using this library?
using something like this:
typedef struct {
boolean valid[50];
char label[50][20];
char name[50][20];
} B;
could actually be a work around...