From dfc55490431366c41399d76c0a3eec87c71a7c97 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 23 Jun 2021 17:33:46 +0200 Subject: [PATCH] some typo --- src/model.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/model.c b/src/model.c index 1d8ca74..332b9a4 100644 --- a/src/model.c +++ b/src/model.c @@ -103,13 +103,13 @@ int ModelLoad(int id) // TODO unload ! void ModelRun(int id) { // Creating structure for the Scheduler - SchedInit(knownModel[id]->scheduler); + SchedInit(loadedModel[id]->scheduler); } void ModelStop(int id) { // Creating structure for the Scheduler - knownModel[id]->scheduler->pleaseStop = true; + loadedModel[id]->scheduler->pleaseStop = true; printLog("Model %d stopped!\n", id); }