Open doingnz opened 8 years ago
Hm, I would be very surprised if the 'missing' bit field was not automatically set to zero, due to the rules that apply for partial initialization (starting point for C/C++ standard references at http://stackoverflow.com/a/10828333, specifically for bit fields http://stackoverflow.com/a/34857037).
Yes, thankfully the default value of zero is OK.
Explicit initialization would show a conscious decision was made. And its a heads up to anyone cloning the solution.
That's trivial enough - feel free to submit a PR that includes setting that.
BlockStorage_decl.h defines
The Solutions do not explicitly set ErasedBitsAreZero.
eg: for STM32F4DISCOVERY
Need
And