1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 05:15:18 +03:00

[Horus] Give pxx its own substruct instead of using ppm (cosmetics)

This commit is contained in:
Arne Schwabe 2016-09-05 15:57:27 +02:00
parent fd138cf22a
commit c16317609f
3 changed files with 12 additions and 6 deletions

View file

@ -656,7 +656,7 @@ PACK(struct ModuleData {
union {
struct {
int8_t delay:6;
uint8_t pulsePol:1; // For PXX: false = internal antenna, true = external antenna
uint8_t pulsePol:1;
uint8_t outputType:1; // false = open drain, true = push pull
int8_t frameLength;
} ppm;
@ -666,6 +666,12 @@ PACK(struct ModuleData {
uint8_t lowPowerMode:1;
int8_t optionValue;
} multi);
NOBACKUP(struct {
uint8_t spare:6;
uint8_t external_antenna:1; // false = internal antenna, true = external antenna
uint8_t spare2:1;
uint8_t spare3;
} pxx);
};
});