Logs port from gruvin9x
JETI ok on simu Sticks mode problem in Trims2Offsets function PXX bug fix pulled from er9x Optimizations
This commit is contained in:
+4
-3
@@ -139,10 +139,11 @@ inline void getGpsDistance()
|
||||
|
||||
inline int8_t parseTelemHubIndex(uint8_t index)
|
||||
{
|
||||
if (index > 0x3b)
|
||||
index = 255; // invalid index
|
||||
if (index > 0x39)
|
||||
if (index > 0x39) {
|
||||
if (index > 0x3b)
|
||||
return -1; // invalid index
|
||||
index -= 17;
|
||||
}
|
||||
return index*2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user