1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00
* Fixes #5502

* RAS renamed to SWR
This commit is contained in:
Bertrand Songis 2018-01-02 10:41:15 +01:00 committed by GitHub
parent b22fa48e90
commit 269831e0c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 315 additions and 307 deletions

View file

@ -53,9 +53,9 @@ def ParseBatt(packet, dataId, prim, appId, data, crc):
print(" Batt: %d" % (data & 0xFF))
def ParseSWR(packet, dataId, prim, appId, data, crc):
def ParseRAS(packet, dataId, prim, appId, data, crc):
print("packet: %s (%4d)" % (dump(packet), lineNumber), end=' ')
print(" SWR: %d" % (data & 0xFF))
print(" RAS: %d" % (data & 0xFF))
def ParseVersion(packet, dataId, prim, appId, data, crc):
@ -74,7 +74,7 @@ appIdParsers = (
(0xf101, 0xf101, ParseRSSI),
(0xf102, 0xf103, ParseAdc),
(0xf104, 0xf104, ParseBatt),
(0xf105, 0xf105, ParseSWR),
(0xf105, 0xf105, ParseRAS),
(0xf106, 0xf106, ParseVersion),
)