Обновление
This commit is contained in:
parent
f278451713
commit
22fe40a0d2
10817
HVAC_model.c
10817
HVAC_model.c
File diff suppressed because it is too large
Load Diff
3176
HVAC_model.h
3176
HVAC_model.h
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -3,9 +3,9 @@
|
||||||
*
|
*
|
||||||
* Code generated for Simulink model 'HVAC_model'.
|
* Code generated for Simulink model 'HVAC_model'.
|
||||||
*
|
*
|
||||||
* Model version : 1.786
|
* Model version : 1.787
|
||||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||||
* C/C++ source code generated on : Tue Apr 14 17:41:03 2026
|
* C/C++ source code generated on : Thu Apr 16 10:30:41 2026
|
||||||
*
|
*
|
||||||
* Target selection: ert.tlc
|
* Target selection: ert.tlc
|
||||||
* Embedded hardware selection: ARM Compatible->ARM Cortex-M
|
* Embedded hardware selection: ARM Compatible->ARM Cortex-M
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
*
|
*
|
||||||
* Code generated for Simulink model 'HVAC_model'.
|
* Code generated for Simulink model 'HVAC_model'.
|
||||||
*
|
*
|
||||||
* Model version : 1.786
|
* Model version : 1.787
|
||||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||||
* C/C++ source code generated on : Tue Apr 14 17:41:03 2026
|
* C/C++ source code generated on : Thu Apr 16 10:30:41 2026
|
||||||
*
|
*
|
||||||
* Target selection: ert.tlc
|
* Target selection: ert.tlc
|
||||||
* Embedded hardware selection: ARM Compatible->ARM Cortex-M
|
* Embedded hardware selection: ARM Compatible->ARM Cortex-M
|
||||||
|
|
|
||||||
|
|
@ -34,11 +34,11 @@ static bool setActuatorBusy(tModelTask *env) {
|
||||||
|
|
||||||
if (env->triggerCommand1 == false){
|
if (env->triggerCommand1 == false){
|
||||||
|
|
||||||
int result = memcmp(&env->triggerActuatorCmdBus_1, &Actuator_Ch0_Command_Model, sizeof(ActuatorCmdBus));
|
// int result = memcmp(&env->triggerActuatorCmdBus_1, &Actuator_Ch0_Command_Model, sizeof(ActuatorCmdBus));
|
||||||
|
|
||||||
if (result == 0) {
|
// if (result == 0) {
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
|
|
||||||
for (uint8_t i = 0; i < env->linTaskActuator1->LIN_ISSR_ALL; ++i) {
|
for (uint8_t i = 0; i < env->linTaskActuator1->LIN_ISSR_ALL; ++i) {
|
||||||
if (Actuator_Ch0_Command_Model.COM[i] != 0) {
|
if (Actuator_Ch0_Command_Model.COM[i] != 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue