Closed WinflyLam closed 3 years ago
@dhalbert Do you have opinions on this? I'm unable to build with #38 merged:
/Users/jesse/Documents/Arduino/libraries/FlashStorage/src/FlashStorage.cpp:56:13: error: 'struct Cmcc' has no member named 'CR'; did you mean 'SR'?
56 | if (CMCC->CR.bit.CSTS) {
| ^~
| SR
This fix is correct. I looked at my old work on this and it appears that I fixed this locally but somehow it did not get committed during the PR. I have a FlashStorage.cpp
and FlashStorage.cpp~
, and this is the diff!
56c56
< if (CMCC->SR.bit.CSTS) {
---
> if (CMCC->CR.bit.CSTS) {
If you submit a PR I will approve it!
@dhalbert Thanks for the quick confirmation. I've opened PR #47 with the one character change.
typo on line 56 of FlashStorage.cpp