Arne SchwabeandBertrand Songis 0c525826b4 Fix alignment bug of pulses data array (#3575)
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.
2016-06-07 23:32:51 +02:00
2016-01-04 22:34:23 +01:00
2015-12-23 09:11:56 +01:00
2015-11-15 10:03:54 +01:00
2013-12-02 18:47:43 +01:00
2016-05-14 11:40:27 +02:00

##OpenTX 2.2 Branch

Build Status Join the chat at https://gitter.im/opentx/opentx Donate using Paypal

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.

S
Description
No description provided
Readme GPL-2.0
400 MiB
Languages
C 71.9%
C++ 25.4%
Python 0.9%
CMake 0.6%
Shell 0.3%
Other 0.7%