From eacb30daca6e70dbb97b01795e18f5c0c308cc93 Mon Sep 17 00:00:00 2001 From: cfif Date: Wed, 11 Feb 2026 11:13:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MainModesArbiter.c | 2 +- MainModesArbiter_InitStage.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MainModesArbiter.c b/MainModesArbiter.c index e9d6298..b363b73 100644 --- a/MainModesArbiter.c +++ b/MainModesArbiter.c @@ -118,7 +118,7 @@ void LoadDataInFromModel(tMma *env) { env->rtDW.ADC_Data_Model.Sensor_Incar_Temp_FL = env->adcTask0.ADC0_Data.Sensor_Ambient_Temp; - LoggerFormatInfo(LOGGER, LOG_TASK_ARB, "Temp1 = %d; Temp2 = %d;", temp1, (int16_t) (temp2 * 10.0f)) + LoggerFormatInfo(LOGGER, LOG_TASK_ARB, "Temp1 = %d; Temp2 = %d; ADC = %d", temp1, (int16_t) (temp2 * 10.0f), env->adcTask0.ADC0_Data.Sensor_Ambient_Temp) /* // R1 = 91000 R2 = 20000 ((5 * (91000 + 20000)) / 20000 = 27.75 В) float U_IGN_CHECK = ((float) env->adcTask0.ADC0_Data.IGN_ANS * 27.75f) / 4095.0f; diff --git a/MainModesArbiter_InitStage.c b/MainModesArbiter_InitStage.c index 9700e7d..5ce85d2 100644 --- a/MainModesArbiter_InitStage.c +++ b/MainModesArbiter_InitStage.c @@ -60,7 +60,7 @@ static void Mma_InitSubSystems(tMma *env) { GpioPinSet(&env->gpios->power.PBATT_CK_EN, true); // Включение 5V (0 - ВКЛ) GpioPinSet(&env->gpios->power.SW5V_EN, false); -/* + GpioPinSet(&env->gpios->power.BTS5180_2EKA_FrontRearIncarMotor.Incar_Motor_Front_EN, true); GpioPinSet(&env->gpios->power.BTS5180_2EKA_FrontRearIncarMotor.Incar_EN_Diag, true); GpioPinSet(&env->gpios->power.BTS5180_2EKA_FrontRearIncarMotor.Incar_Motor_Rear_EN, true); @@ -89,7 +89,7 @@ static void Mma_InitSubSystems(tMma *env) { GpioPinSet(&env->gpios->power.VN7008AJ_RearLINActuatorPowerDriverC.LIN_ActPower_C, true); GpioPinSet(&env->gpios->power.VN7008AJ_RearLINActuatorPowerDriverC.EN_CurrentSensing_C, true); -*/ + // Indication_Init(&env->Indication, HVAC_DEV_MODE_STARTUP);