From 6ebc9b615ae20248061fad8c70efec65393323de Mon Sep 17 00:00:00 2001 From: cfif Date: Tue, 14 Jul 2026 09:53:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=B4=D0=B0=D1=82=D1=87=D0=B8=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=B8=20IO=20UDS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs_Cal_Base.c | 3 +++ Rs_Cal_Base.h | 3 +++ calib/Rs_Cal_0_SedanL.c | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/Rs_Cal_Base.c b/Rs_Cal_Base.c index 7c3a922..5c2f190 100644 --- a/Rs_Cal_Base.c +++ b/Rs_Cal_Base.c @@ -1075,6 +1075,9 @@ SECT_SRAM_CAL tU16 g_ausDbF_Pwm_Bi2_Vent[9] = { 0}; SECT_SRAM_CAL tU16 g_usAromaPwm_Min = 0; SECT_SRAM_CAL tU16 g_usAromaPwm_Max = 0; /* ------------------------------------------Aroma Limit Pwm: End*/ +SECT_SRAM_CAL tS16 g_assPID_COMPRESSOR[6] = { 0}; +SECT_SRAM_CAL tS16 g_assPID_VALVE[6] = { 0}; +/* ------------------------------------------PID: End*/ /*********************************************************Cal Table End*/ /****************************************************************************** diff --git a/Rs_Cal_Base.h b/Rs_Cal_Base.h index 7cc5bbe..81020b0 100644 --- a/Rs_Cal_Base.h +++ b/Rs_Cal_Base.h @@ -1078,6 +1078,9 @@ extern SECT_SRAM_CAL tU16 g_ausDbF_Pwm_Bi2_Vent[9]; extern SECT_SRAM_CAL tU16 g_usAromaPwm_Min; extern SECT_SRAM_CAL tU16 g_usAromaPwm_Max; /* ------------------------------------------Aroma Limit Pwm: End*/ +extern SECT_SRAM_CAL tS16 g_assPID_COMPRESSOR[6]; +extern SECT_SRAM_CAL tS16 g_assPID_VALVE[6]; +/* ------------------------------------------PID: End*/ /*********************************************************Cal Table End*/ /****************************************************************************** diff --git a/calib/Rs_Cal_0_SedanL.c b/calib/Rs_Cal_0_SedanL.c index 965cf3d..6670f92 100644 --- a/calib/Rs_Cal_0_SedanL.c +++ b/calib/Rs_Cal_0_SedanL.c @@ -1075,6 +1075,9 @@ SECT_VEH_CAL_0 const tU16 c_ausDbF_Pwm_Bi2_Vent_SedanL[9] = { 105, 120, 120, 90, SECT_VEH_CAL_0 const tU16 c_usAromaPwm_Min_SedanL = 200; SECT_VEH_CAL_0 const tU16 c_usAromaPwm_Max_SedanL = 700; /* ------------------------------------------Aroma Limit Pwm: End*/ +SECT_VEH_CAL_0 const tS16 c_assPID_COMPRESSOR_SedanL[6] = { -400, -5, 0, 10000, 200, -200}; +SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_SedanL[6] = { -200, -5, 0, 10000, 200, -200}; +/* ------------------------------------------PID: End*/ /*********************************************************Cal Table End*/ /****************************************************************************** @@ -2150,6 +2153,9 @@ void Rs_Cal_0_SedanL(void) g_usAromaPwm_Min = c_usAromaPwm_Min_SedanL; g_usAromaPwm_Max = c_usAromaPwm_Max_SedanL; /* ------------------------------------------Aroma Limit Pwm: End*/ + M_MEMCOPY((g_assPID_COMPRESSOR), (c_assPID_COMPRESSOR_SedanL)); + M_MEMCOPY((g_assPID_VALVE), (c_assPID_VALVE_SedanL)); + /* ------------------------------------------PID: End*/ /*********************************************************Cal Table End*/ }