test(radio): enshrine rc-soar.com documented mixer/LS behavior (#7751)

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Peter Feerick
2026-09-03 14:02:33 +10:00
committed by GitHub
co-authored by Claude Sonnet 5
parent a9f89323a9
commit 676721fe8f
4 changed files with 451 additions and 51 deletions
+2 -4
View File
@@ -75,10 +75,8 @@ TEST_F(SpecialFunctionsTest, FlightReset)
#if defined(GVARS)
TEST_F(SpecialFunctionsTest, GvarsInc)
{
int sw;
for (sw = 0; sw < switchGetMaxAllSwitches(); sw += 1)
if (g_model.getSwitchType(sw) == SWITCH_3POS)
break;
int sw = findHwSwitch(SWITCH_3POS);
if (sw < 0) return;
int swPos = (sw * 3) + SWSRC_FIRST_SWITCH;
simuSetSwitch(sw, 0); // SA-