FrSkyRC / ETHOS-Feedback-Community

Feedback & suggestions are welcomed here for ETHOS by FrSky
189 stars 85 forks source link

X12S Emergency mode when using lua scripts on the external Modules #2160

Closed yak-54 closed 1 year ago

yak-54 commented 1 year ago

External modules in X12S the XJT and R9M and RFD900 TXMOD. And i can bind and use with servo output and with rssi and Smart Port Lipo Voltage Sensor working find with all modules

but as soon i just added some scripts yaapu passthrough all the scripts work fine with the internal isrm 2.4

but if i turn the internal isrm off and power on the external R9M or XJT radio goes in to emergency mode

its like when the scripts start poll the sport it goes to emergency mode i did some testing with this script which shows the Lua Sinus with some simple polling for sensors still goes to emergency mode on all external modules but if i turn off the external and turn on the isrm internal module it works fine with all scripts

here is a simple lua script that poll for Sport sensors
yaaputest.zip

Target0815 commented 1 year ago

I have tested the script with a R9M Lite and R9M Lite Pro modules. It runs without problems on an X18S with Ethos 1.4.4.

bsongis-frsky commented 1 year ago

Reproduced

bsongis-frsky commented 1 year ago

Fix found