0c525826b45b998e8ce3f82509df6b8ef243508c
The second element of the modulePulsesData was never forced to be correctly aligned. Without the new pulses and without the Multimodule code the second element was never misaligned since the PXX pulses union member was always the largest member and was 4 byte aligned by coincidence, also making the second modulePulseData array member 4 byte aligned. With the Multimodule option enabled the dsm pulses struct becomes the largest union member with 607 bytes and the second modulePulsesData is not aligned to anything anymore which completely screws up the pulses generation. Forcing the alignment of the ModulePulsesData fixes this issue.
##OpenTX 2.2 Branch
The ongoing development on 2.2.x is done in this branch.
Refer to the opentx.wiki for information about setting up the tool chains for building OpenTX and OpenTX Companion as well as other development related issues.
Languages
C
71.9%
C++
25.4%
Python
0.9%
CMake
0.6%
Shell
0.3%
Other
0.7%