GUI Thread crash after supplying trainer via sbus in
I can crash the gui thread using
- new model
- trainer-serial
- feed some sbus signal
- try to calibrate the trainer signal, select calibrate
- gui freezes
- main thread still works: get trainer lost if sbus is pulled out
- can't switch off, have to unplug the battery
I have a potential solution here https://github.com/dlktdr/edgetx/commit/2e5c96bf4bb4d1b2884e622e7067b497b7c6f913.
Looks like it's trying to set the value but another update comes in and crashes the GUI. An option is to go to the way OTX did it with a calibration button to calibrate all at once which works well, disabling the events on the number edit so they just show the data.
I could split into 4 buttons to calibrate each one separately if that's something that would actually be needed.

I think the button is all that is needed... I don't think the values have ever actually been 'configurable in any way... just shown so you can see if they are crazy values or something is wrong with the trainer. You can't even edit those values in Companion - it's read-only as well.
Ok. I'll make a pull request on this one then you can review.
Do you think there is any value to having them read only NumberEdits, rather than some form of StaticText/drawText?
No I don't think so, I guess static would make more sense. Let me change that... Ignore pull for now..
Is this fixed?