Skip to content

Commit d0562fd

Browse files
committed
FIx for the pilot "Radio Remote Channel Switcher", "Mode Switch" argument 44 in the Mosquito interface.
1 parent 9ff4595 commit d0562fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Aircraft Mosquito Plugin/Interfaces/MosquitoInterface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public DH98MosquitoInterface(string name)
243243
AddFunction(new PushButton(this, devices.VHF_RADIO.ToString("d"), "3005", "36", "Radio Remote Channel Switcher", "D Button", "%1d")); // "RADIO_D"
244244
AddFunction(Switch.CreateToggleSwitch(this, devices.VHF_RADIO.ToString("d"), "3006", "42", "1", "Position 1", "0", "Position 2", "Radio Remote Channel Switcher", "Dimmer Switch", "%1d")); // "RADIO_L_DIM"
245245
AddFunction(Switch.CreateToggleSwitch(this, devices.VHF_RADIO.ToString("d"), "3017", "43", "0", "Position 1", "1", "Position 2", "Radio Remote Channel Switcher", "Transmission Lock", "%1d")); // "RADIO_TLOCK"
246-
AddFunction(new Switch(this, devices.VHF_RADIO.ToString("d"), "44", new SwitchPosition[] { new SwitchPosition("1.0", "Position 1", "3008"), new SwitchPosition("0.0", "Position 2", "3008"), new SwitchPosition("-1.0", "Position 3", "3007") }, "Radio Remote Channel Switcher", "Mode Switch", "%.1f")); // "RADIO_T_MODE"
246+
AddFunction(new Switch(this, devices.VHF_RADIO.ToString("d"), "44", new SwitchPosition[] { new SwitchPosition("-1.0", "Position 1", "3008"), new SwitchPosition("0.0", "Position 2", "3007"), new SwitchPosition("1.0", "Position 3", "3007") }, "Radio Remote Channel Switcher", "Mode Switch", "%.1f")); // "RADIO_T_MODE"
247247
AddFunction(new Axis(this, devices.VHF_RADIO.ToString("d"), "3015", "364", 0.1d, 0d, 1d, "Radio Remote Channel Switcher", "Volume Knob", false, "%.1f")); // "RADIO_VOL"
248248
AddFunction(new FlagValue(this, "37", "Radio Remote Channel Switcher", "A Light (White)", "True when indicator is lit")); // "RADIO_A_L"
249249
AddFunction(new FlagValue(this, "38", "Radio Remote Channel Switcher", "B Light (White)", "True when indicator is lit")); // "RADIO_B_L"

InterfaceFiles/Interfaces

0 commit comments

Comments
 (0)