[Taranis] Default Batt range / alarm

[Taranis] No USR Protocol selection
This commit is contained in:
bsongis@gmail.com
2013-04-04 20:50:19 +00:00
parent bc078d5e3f
commit a1a18aae57
6 changed files with 36 additions and 12 deletions
+2 -2
View File
@@ -319,11 +319,11 @@ void processFrskyPacket(uint8_t *packet)
uint8_t numBytes = 3 + (packet[1] & 0x07); // sanitize in case of data corruption leading to buffer overflow
for (uint8_t i=3; i<numBytes; i++) {
#if defined(FRSKY_HUB)
if (g_model.frsky.usrProto == USR_PROTO_FRSKY)
if (IS_USR_PROTO_FRSKY_HUB())
parseTelemHubByte(packet[i]);
#endif
#if defined(WS_HOW_HIGH)
if (g_model.frsky.usrProto == USR_PROTO_WS_HOW_HIGH)
if (IS_USR_PROTO_WS_HOW_HIGH())
parseTelemWSHowHighByte(packet[i]);
#endif
}