Обновление

This commit is contained in:
cfif 2026-04-07 13:34:07 +03:00
parent b9c7790214
commit 87457e685f
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include <CmsisRtosThreadUtils.h>
#include "HVAC_model.h"
#include "memory.h"
#include "SystemDelayInterface.h"
#define LOG_SIGN "Model"
#define LOGGER env->logger
@ -74,6 +75,8 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) {
for (;;) {
if (osMutexAcquire(env->access, 1000) == osOK) {
rtDW.t_now = SystemGetMs();
HVAC_model_step();
setActuatorBusy(env);
env->isUpdate = true;