!2133 persist param save time change

Merge pull request !2133 from wxt/master
This commit is contained in:
openharmony_ci 2023-07-21 08:25:39 +00:00 committed by Gitee
commit 4422e545fb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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);