I'm running into a memory issue that prevents me from running a Luac script more than once without cycling the transmitter (Taranis X7S) power to clear the memory.
The script is for adjusting the settings of the Brain 2 (from MSH electronics) helicopter flight controller from the transmitter. It is downloaded from the MSH Electronics website:
The first time the script is run, everything works fine. But if I exit the script and then try to run it again, it gives the error "Script Syntax Error - Not Enough Memory."
I've checked the memory and it does actually show full after running the script.
Memory before running script: 78504b
Memory after running script: 16b
Cycling the transmitter power does seem to clear the memory and then the script can be run again.
I've already contacted the FrSky service center about this. Their only advice so far has been to update the SD card contents to match the OpenTX version (2.3.11), which it already is (https://downloads.open-tx.org/2.3/release/sdcard/opentx-x7/sdcard-128x64-2.3V0035.zip).
I also contacted MSH Electronics about the issue. They said that the script has been verified with an earlier version of OpenTX. According to the ReadMe, it was tested with OpenTX version 2.2.4.
Is there some way to manually clear the memory, other than cycling the transmitter power?
Thanks!
The script is for adjusting the settings of the Brain 2 (from MSH electronics) helicopter flight controller from the transmitter. It is downloaded from the MSH Electronics website:
The first time the script is run, everything works fine. But if I exit the script and then try to run it again, it gives the error "Script Syntax Error - Not Enough Memory."
I've checked the memory and it does actually show full after running the script.
Memory before running script: 78504b
Memory after running script: 16b
Cycling the transmitter power does seem to clear the memory and then the script can be run again.
I've already contacted the FrSky service center about this. Their only advice so far has been to update the SD card contents to match the OpenTX version (2.3.11), which it already is (https://downloads.open-tx.org/2.3/release/sdcard/opentx-x7/sdcard-128x64-2.3V0035.zip).
I also contacted MSH Electronics about the issue. They said that the script has been verified with an earlier version of OpenTX. According to the ReadMe, it was tested with OpenTX version 2.2.4.
Is there some way to manually clear the memory, other than cycling the transmitter power?
Thanks!