From ba151e14694c8cb4ee4a8058b308c8ff02fb90d3 Mon Sep 17 00:00:00 2001 From: cptnuss-ops <69425888+cptnuss-ops@users.noreply.github.com> Date: Fri, 13 Oct 2023 14:28:13 +0200 Subject: [PATCH] fix(cond): Fixing Temp-Zone-Vars in CRZ-Page (#8243) * Fixing Temp-Zone-Vars in CRZ-Page * Added missing entry in changelog --- .github/CHANGELOG.md | 1 + fbw-a32nx/src/systems/instruments/src/SD/Pages/Crz/Crz.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 026d79cb0c9..c12c4b51c23 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -53,6 +53,7 @@ 1. [FMS] Use station declination when appropriate for fix info and place/bearing radials - @tracernz (Mike) 1. [MCDU] Fixed the FMGC annunciator light not illuminating - @tracernz (Mike) 1. [COND] Add Air Conditioning systems failures - @mjuhe (Miquel Juhe) +1. [COND] Fixed Temp-Indication on CRZ page showing cockpit temperature for fwd and aft cabin - @cptnuss-ops (Lukas) ## 0.10.0 diff --git a/fbw-a32nx/src/systems/instruments/src/SD/Pages/Crz/Crz.tsx b/fbw-a32nx/src/systems/instruments/src/SD/Pages/Crz/Crz.tsx index 8ff90fcac56..2c416204a0c 100644 --- a/fbw-a32nx/src/systems/instruments/src/SD/Pages/Crz/Crz.tsx +++ b/fbw-a32nx/src/systems/instruments/src/SD/Pages/Crz/Crz.tsx @@ -216,8 +216,8 @@ export const PressureComponent = () => { export const CondComponent = () => { const [unit] = usePersistentProperty('CONFIG_USING_METRIC_UNIT', '1'); let [cockpitCabinTemp] = useSimVar('L:A32NX_COND_CKPT_TEMP', 'celsius', 1000); - let [fwdCabinTemp] = useSimVar('L:A32NX_COND_CKPT_TEMP', 'celsius', 1000); - let [aftCabinTemp] = useSimVar('L:A32NX_COND_CKPT_TEMP', 'celsius', 1000); + let [fwdCabinTemp] = useSimVar('L:A32NX_COND_FWD_TEMP', 'celsius', 1000); + let [aftCabinTemp] = useSimVar('L:A32NX_COND_AFT_TEMP', 'celsius', 1000); if (unit === '0') { // converting to F if 'lbs' selected in EFB cockpitCabinTemp = UnitType.CELSIUS.convertTo(cockpitCabinTemp, UnitType.FAHRENHEIT);