EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio

Home Page:https://edgetx.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inverted mix switch not saving

gapster15 opened this issue · comments

Is there an existing issue for this problem?

  • I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

Inverting a switch on the mixes screen will not be saved upon rebooting my MT12.
1
After reboot
2

Expected Behavior

Save the setting

Steps To Reproduce

  1. In mixes, select a channel using a switch
  2. Set the switch to inverted and save
  3. Reboot TX and the switch is no longer inverted

Version

2.10.3

Transmitter

RadioMaster MT12

Operating System (OS)

No response

OS Version

No response

Anything else?

No response

I was able to reproduce this on MT12, and on Zorro. The MT12 appeared to lose the plot one time, and change the source and drop the inverted switch completely, and the Zorro initially appear to work, but after swapping the SRC, it also lost the inverted switch on reboot.

Edit: playing with this a little more in simu (for Zorro), it seems like the switch state is not being saved at all (i.e. see screenshot), and it even lost the just configured logical switch on a restart of simu 🤔

image

Ah, ok, I think I just spotted what is happening... using the popup menu to invert is not triggering model settings dirty... so it doesn't save... if you instead use cursor, or edit some other setting 'normally', it does save. ;)

@gapster15 immediate workaround: after picking "invert" from the popup menu, simply scroll the roller to a different entry, and back to the one you want... the save will be queued then.

Looks like an old issue - happens in 2.9 as well (simulator).

Fixed already in 2.11.

Couldn't repo this on as easily on the the X9D+ I have that is still on 2.9.2, so maybe there was a radio navigation element to it? Either way, #5435 indeed seems to resolve this.