-
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
自动更新问题 #25
Comments
怀疑你是不是用的 demo 中的那个 boot counts 功能,那个是每次开机都自动加一,然后存储的。 |
我不是使用demo. |
好像确实有问题。方便提一个 pr 吗? |
在 env_auto_update 里加感觉就可以了 |
嗯,在 |
fixed in #26 |
在开启EF_ENV_AUTO_UPDATE后,每次重新开机都会擦写Flash。
是否是缺少在
ef_env_init()
-->result = ef_load_env()
中加载Flash中的EF_ENV_VER_NUM到env_cache[ENV_PARAM_INDEX_VER_NUM]
?还是我配置或使用方式不对:smiley:
The text was updated successfully, but these errors were encountered: