mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 22:35:12 +03:00
Switch warnings before 21 March 2013 imported OK
This commit is contained in:
parent
160cf07110
commit
b39dd034c6
1 changed files with 1 additions and 1 deletions
|
@ -1302,7 +1302,7 @@ class SwitchesWarningField: public TransformedField {
|
|||
sw = _sw >> 1;
|
||||
}
|
||||
else if (!afterrelease21March2013) {
|
||||
sw = ((_sw & 0xC1) + ((_sw & 0x38) >> 2) + ((_sw & 0x06) << 3)) >> 1;
|
||||
sw = ((_sw & 0x30) >> 4) + ((_sw & 0x0E) << 1) + ((_sw & 0xC0) >> 1);
|
||||
}
|
||||
else {
|
||||
sw = _sw;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue