增加历史任务深度

This commit is contained in:
LQF 2017-08-29 11:15:27 +08:00
parent 32e48cb5e4
commit 65f1eaa4d5
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@
#include "Device\Flash.h"
#include "Kernel\Task.h"
#include "HistoryStore.h"
#define DS_DEBUG DEBUG
@ -61,6 +63,8 @@ bool HistoryStore::Open(bool UseThousand)
p = RenderPeriod;
}
_task = Sys.AddTask(RenderTask, this, p, p, "历史数据");
auto task = Task::Get(_task);
task->MaxDeepth = 2;
return Opened = true;
}