Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in Wizard for WING: Switch picked for dual rates is not shown in summary screen or programmed in model #172

Open
ror1948 opened this issue Nov 13, 2024 · 3 comments

Comments

@ror1948
Copy link

ror1948 commented Nov 13, 2024

I have updated the program in the Lua file "3.Wing.lua" attached so this fault does not occur.

Changes below:

-- WAS at line 452
-- updateInputLine(defaultChannel_0_AIL, 0, expoVal, 100, "SC" .. CHAR_UP)
-- updateInputLine(defaultChannel_0_AIL, 1, expoVal, 75 , "SC-")
-- updateInputLine(defaultChannel_0_AIL, 2, expoVal, 50 , "SC" .. CHAR_DOWN)
-- updateInputLine(defaultChannel_0_ELE, 0, expoVal, 100, "SC" .. CHAR_UP)
-- updateInputLine(defaultChannel_0_ELE, 1, expoVal, 75 , "SC-")
-- updateInputLine(defaultChannel_0_ELE, 2, expoVal, 50 , "SC" .. CHAR_DOWN)

-- IS at line 452
updateInputLine(defaultChannel_0_AIL, 0, expoVal, 100 , ElevronFields.dr_switch.avail_values[1 + ElevronFields.dr_switch.value]..CHAR_UP)
updateInputLine(defaultChannel_0_AIL, 1, expoVal, 75 , ElevronFields.dr_switch.avail_values[1 + ElevronFields.dr_switch.value].."-")
updateInputLine(defaultChannel_0_AIL, 2, expoVal, 50 , ElevronFields.dr_switch.avail_values[1 + ElevronFields.dr_switch.value]..CHAR_DOWN)
updateInputLine(defaultChannel_0_ELE, 0, expoVal, 100 , ElevronFields.dr_switch.avail_values[1 + ElevronFields.dr_switch.value]..CHAR_UP)
updateInputLine(defaultChannel_0_ELE, 1, expoVal, 75 , ElevronFields.dr_switch.avail_values[1 + ElevronFields.dr_switch.value].."-")
updateInputLine(defaultChannel_0_ELE, 2, expoVal, 50 , ElevronFields.dr_switch.avail_values[1 + ElevronFields.dr_switch.value]..CHAR_DOWN)

-- added these lines
at line 385
--dual rate sw
if ElevronFields.is_dual_rate.value == 1 then
drawNextLine("Dual Rate SW", nil, ElevronFields.dr_switch.avail_values[1 + ElevronFields.dr_switch.value])
end

updated_3.Wing.zip

@ror1948
Copy link
Author

ror1948 commented Nov 13, 2024

@ror1948 ror1948 closed this as completed Nov 13, 2024
@pfeerick
Copy link
Member

Sorry for the delay in responding to this... this is the correct repo to do this, rather than edgetx/edgetx or pascallanger/DIY-Multiprotocol-TX-Module

@pfeerick pfeerick reopened this Nov 19, 2024
@offer-shmuely
Copy link
Contributor

PR #178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants