We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
同样的: if (index < cur_using_size) { 也要更改为: if (index >= cur_using_size) {
Sorry, something went wrong.
遇到了相同的报错
No branches or pull requests
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: