-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ef_log_read word aligned 判断错误 #150
Comments
同样的: |
遇到了相同的报错 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
EfErrCode ef_log_read(size_t index, uint32_t *log, size_t size)
里
if (size % 4 == 0) {
EF_DEBUG("Error: size must be word aligned.");
return EF_READ_ERR;
}
应该改为
if (size % 4 != 0) {
EF_DEBUG("Error: size must be word aligned.");
return EF_READ_ERR;
}
The text was updated successfully, but these errors were encountered: