[NV14] Telemetry fixes, use FlySky RX defaults (#856)
* Port from NV14 repository * Fix altimeter * Change AFHDS2A default mode to PWM and iBUS * Fix datacopy.cpp generation for NV14 Windows build * Cleanup * Format * typo fix * Sngl for alarm and temperature sensor * remove temperature sensor
This commit is contained in:
@@ -133,6 +133,12 @@ inline const char* getRssiLabel()
|
||||
if (telemetryProtocol == PROTOCOL_TELEMETRY_GHOST) {
|
||||
return "RQly";
|
||||
}
|
||||
#endif
|
||||
#if defined (PCBNV14)
|
||||
extern uint32_t NV14internalModuleFwVersion;
|
||||
if ( (telemetryProtocol == PROTOCOL_TELEMETRY_FLYSKY_NV14)
|
||||
&& (NV14internalModuleFwVersion >= 0x1000E) )
|
||||
return "Sgnl";
|
||||
#endif
|
||||
return "RSSI";
|
||||
}
|
||||
@@ -174,6 +180,12 @@ inline uint8_t modelTelemetryProtocol()
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(AFHDS2)
|
||||
if (isModuleAFHDS2A(INTERNAL_MODULE)) {
|
||||
return PROTOCOL_TELEMETRY_FLYSKY_NV14;
|
||||
}
|
||||
#endif
|
||||
|
||||
// default choice
|
||||
return PROTOCOL_TELEMETRY_FRSKY_SPORT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user