edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

X-Lite Pro lua Bug if update from 2.11.0 to 2.11.1 (and other lua scripts)

Open druckgott opened this issue 7 months ago • 10 comments

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

If I use 2.11.0 on my X-Lite Pro all my lua skripts are working. Also the elrsV3.lua from 3.5.5 ELRS Version. If I use 2.11.1 on my X-Lite Pro all my lua skripts I get not enough memory and sometimes also Syntax error, depending on the lua skript

So lua is not working correctly anymore. It´s on differnt lua scrips.

Expected Behavior

Scripts rune as 2.11.0

Steps To Reproduce

Flash 2.11.1 start any lua skript --> error Flash 2.11.0 start any lua skript --> works

Version

2.11.1

Transmitter

FrSky X9 Lite / Lite S, FrSky X-Lite / S / Pro

Operating System (OS)

Windows

OS Version

Windows 10

Anything else?

No response

druckgott avatar May 29 '25 11:05 druckgott

This is due to https://github.com/EdgeTX/edgetx/pull/6221. Need more time to understand why

3djc avatar May 29 '25 12:05 3djc

OK, it seems to an issue on radio with spi lcd

3djc avatar May 30 '25 07:05 3djc

Ok thx for information

druckgott avatar May 30 '25 07:05 druckgott

We are still trying to understand exactly what is going on, but we don't have frsky radios, so it is not easy

3djc avatar May 30 '25 07:05 3djc

Ok so if i can help let me know, so if you need any log ore something Else.

druckgott avatar May 30 '25 07:05 druckgott

@druckgott would you mind testing with the firmware built in #6339?

raphaelcoeffic avatar Jun 03 '25 06:06 raphaelcoeffic

its working now thx for fix

druckgott avatar Jun 03 '25 15:06 druckgott

Cool, thanks for the testing!

3djc avatar Jun 03 '25 16:06 3djc

@3djc, i get now a nother problem with the #6339 PR. The sticks are not moving anymore. on my test I only take a look if lua works. Today I want to use my simulator and I was wondering why my sticks not working amymore, only the buttons are working. Then I realized that also on the xlite in the screen the stick positions are not moving anymore and they are shown in the left bottom corner. If I flash back to 2.11.0 its working again. So maybe there is now something else defekt due to the change.

druckgott avatar Jun 07 '25 11:06 druckgott

@raphaelcoeffic look like your fix fixed one thing but broke another !

3djc avatar Jun 07 '25 12:06 3djc

I now tried: EdgeTX "Jolly Mon" v2.11.2 and it works. so its done

druckgott avatar Jul 05 '25 09:07 druckgott