save persist param time change to 1s

Signed-off-by: wangxutao <wangxutao5@huawei.com>
This commit is contained in:
wangxutao 2023-07-20 14:50:54 +08:00
parent 81396cf812
commit 77c38d3270

View File

@ -44,7 +44,7 @@ typedef struct {
int RegisterPersistParamOps(PersistParamOps *ops);
#ifndef STARTUP_INIT_TEST
#define PARAM_MUST_SAVE_PARAM_DIFF 10 // 10s
#define PARAM_MUST_SAVE_PARAM_DIFF 1 // 1s
#else
#define PARAM_MUST_SAVE_PARAM_DIFF 1
void TimerCallbackForSave(ParamTaskPtr timer, void *context);