mirror of
https://gitee.com/openharmony/startup_init
synced 2025-02-20 04:03:54 +00:00
save persist param time change to 1s
Signed-off-by: wangxutao <wangxutao5@huawei.com>
This commit is contained in:
parent
81396cf812
commit
77c38d3270
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user