Skip to content

Commit

Permalink
Change SBD XC to use XC not PA
Browse files Browse the repository at this point in the history
  • Loading branch information
rcflyinghokie committed Jun 25, 2024
1 parent 6203edf commit 8b07019
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Orbitersdk/samples/ProjectApollo/src_lm/lm_telecom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8b07019

Please sign in to comment.