Hi all,
May I ask how to handle a zero-length flexible array? For example here's the code in C++:
struct __attribute__((packed)) cfg_pkt {
nvs_type_t type : 8;
uint16_t val_len;
char ns[16];
char key[16];
uint8_t value[];
};
The value[] is a flexible array member. How should I handle gracefully with this library?
Regards,
Jackson