From 8b070197099e6a1862a2dde9b06f5317adba7cea Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 25 Jun 2024 13:49:14 -0600 Subject: [PATCH] Change SBD XC to use XC not PA --- Orbitersdk/samples/ProjectApollo/src_lm/lm_telecom.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Orbitersdk/samples/ProjectApollo/src_lm/lm_telecom.cpp b/Orbitersdk/samples/ProjectApollo/src_lm/lm_telecom.cpp index 309f6852b6..5119518181 100644 --- a/Orbitersdk/samples/ProjectApollo/src_lm/lm_telecom.cpp +++ b/Orbitersdk/samples/ProjectApollo/src_lm/lm_telecom.cpp @@ -2633,16 +2633,16 @@ void LM_SBAND::Timestep(double simt){ } // Receiver AGC Voltage - if (lem->SBandPASelSwitch.IsUp()) { - if (ant && pa_mode_1 > 2) { + if (lem->SBandXCvrSelSwitch.IsUp()) { + if (ant && tc_mode_1 > 2) { rcvr_agc_voltage = ant->GetSignalStrength(); } else { rcvr_agc_voltage = 0.0; } } - else if (lem->SBandPASelSwitch.IsDown()){ - if (ant && pa_mode_2 > 2) { + else if (lem->SBandXCvrSelSwitch.IsDown()) { + if (ant && tc_mode_2 > 2) { rcvr_agc_voltage = ant->GetSignalStrength(); } else {