fix sytick drift after tickless wakeup from sleep or stop

1. make port_systick_reload the same as port_systick_config
This commit is contained in:
daishengdong
2020-04-28 16:23:57 +08:00
parent efaa24a5c8
commit b13634de77
23 changed files with 22 additions and 262 deletions

View File

@@ -1215,11 +1215,6 @@ __API__ kv_err_t tos_kv_init(uint32_t flash_start, uint32_t flash_end, kv_flash_
kv_mgr_ctl_build();
printf("fresh: %d\n", KV_MGR_BLK_NUM_FRESH);
printf("hanging: %d\n", KV_MGR_BLK_NUM_HANGING);
printf("inuse: %d\n", KV_MGR_BLK_NUM_INUSE);
printf("total: %d\n", KV_MGR_BLK_NUM_TOTAL);
return kv_mgr_workspace_locate();
}