-
-
Notifications
You must be signed in to change notification settings - Fork 461
Description
Describe the bug
After switching model in EdgeTX, lua script connection fails to TX module. It's necessary to turn off and turn on the radio to make the module work again
TX hardware: Happymodel ES24 TX 2.4g
Handset model: Taranis QX7 (with cross mod)
Edge TX 2.6.0
TX ExpressLRS version: 2.0.1
Steps to Reproduce
- Turn radio on .
- Radio connects to module
- Change to another model with ELRS Rx and no connection to module
- Power radio off and on and it connects to module
Model match in settings is turned off.
The same problem with Radiomaster TX16S (Edge TX 2.5.0)
pkendall64 wrote here https://github.com/ExpressLRS/ExpressLRS/issues/1259#issuecomment-1017846503 that "It is expected that EdgeTX/OpenTX reboots the module when switching models.
If the module is not restarting properly when doing that then I'd say that EdgeTX/OpenTX may need a longer off time for the module when switching." And "... when you switch models in OpenTX/EdgeTX the handset power cycles the module. If the power off is not long enough it looks like it's causing the module to crash which is why the LUA is failing and you have to power cycle the radio. I have an ES24TX Pro Series and this problem does not happen on that module."