From 72a6813c7abcb600a0d7209e67fb2a6c7e68f677 Mon Sep 17 00:00:00 2001 From: Aurora Luna Takemi <98479040+auroraisluna@users.noreply.github.com> Date: Tue, 14 Nov 2023 20:36:57 +0200 Subject: [PATCH] fix(hoppie): Remove ATSU/AOC source checks (#8296) * Update HoppieConnector.ts * Update CHANGELOG.md --- .github/CHANGELOG.md | 1 + .../router/src/webinterfaces/HoppieConnector.ts | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 8e54796f76b..cf888d50ecf 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -18,6 +18,7 @@ 1. [MCDU] FUEL PRED layout improvemnts @BravoMike99 (bruno_pt99) 1. [EFCS] Add precontrol to roll angle controller to improve dynamic response - @lukecologne (luke) 1. [EFCS] Increase maximum sim rate limit to 8 due to improvements in roll law stability - @lukecologne (luke) +1. [HOPPIE] Remove ATSU/AOC source checks - @auroraisluna (alepouna) ## 0.11.0 diff --git a/fbw-common/src/systems/datalink/router/src/webinterfaces/HoppieConnector.ts b/fbw-common/src/systems/datalink/router/src/webinterfaces/HoppieConnector.ts index e5a7e64a0fc..50f9f7d3c95 100644 --- a/fbw-common/src/systems/datalink/router/src/webinterfaces/HoppieConnector.ts +++ b/fbw-common/src/systems/datalink/router/src/webinterfaces/HoppieConnector.ts @@ -40,18 +40,6 @@ export class HoppieConnector { return; } - const metarSrc = NXDataStore.get('CONFIG_METAR_SRC', 'MSFS'); - if (metarSrc !== 'VATSIM' && metarSrc !== 'IVAO') { - console.log('Invalid METAR source'); - return; - } - - const atisSrc = NXDataStore.get('CONFIG_ATIS_SRC', 'FAA'); - if (atisSrc !== 'VATSIM' && atisSrc !== 'IVAO') { - console.log('Invalid ATIS source'); - return; - } - const body = { logon: NXDataStore.get('CONFIG_HOPPIE_USERID', ''), from: 'FBWA32NX',