Merge branch 'master' of ssh://gitlab.os-k.eu:222/gem-graph-team/gem-graph-server

This commit is contained in:
Jean Sirmai 2021-06-23 17:43:26 +02:00
commit 44bae3d1c8
Signed by untrusted user who does not match committer: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 2 additions and 2 deletions

View File

@ -103,13 +103,13 @@ int ModelLoad(int id) // TODO unload !
void ModelRun(int id) void ModelRun(int id)
{ {
// Creating structure for the Scheduler // Creating structure for the Scheduler
SchedInit(knownModel[id]->scheduler); SchedInit(loadedModel[id]->scheduler);
} }
void ModelStop(int id) void ModelStop(int id)
{ {
// Creating structure for the Scheduler // Creating structure for the Scheduler
knownModel[id]->scheduler->pleaseStop = true; loadedModel[id]->scheduler->pleaseStop = true;
printLog("Model %d stopped!\n", id); printLog("Model %d stopped!\n", id);
} }