FlashStorage icon indicating copy to clipboard operation
FlashStorage copied to clipboard

Updating value inside struct.

Open zygisjas opened this issue 4 years ago • 0 comments

Is there a way to update only one value inside the struct object instead of updating them all?

I've tried something like:

settings.saved = true;
flashStore.write(settings.saved);

Getting error:

exit status 1
no matching function for call to 'FlashStorageClass<Settings>::write(boolean&)'

zygisjas avatar Jun 18 '21 14:06 zygisjas