Telemetry Volts and Current sources (RxBatt, A3, A4) now available in
Companion. QAutoComboBox introduced to simplify code
This commit is contained in:
@@ -856,6 +856,25 @@ class FrSkyScreenData {
|
||||
void clear() { memset(this, 0, sizeof(FrSkyScreenData)); }
|
||||
};
|
||||
|
||||
enum TelemetryVoltsSources {
|
||||
TELEMETRY_VOLTS_SOURCE_RXBATT,
|
||||
TELEMETRY_VOLTS_SOURCE_A1,
|
||||
TELEMETRY_VOLTS_SOURCE_A2,
|
||||
TELEMETRY_VOLTS_SOURCE_A3,
|
||||
TELEMETRY_VOLTS_SOURCE_A4,
|
||||
TELEMETRY_VOLTS_SOURCE_FAS,
|
||||
TELEMETRY_VOLTS_SOURCE_CELLS
|
||||
};
|
||||
|
||||
enum TelemetryCurrentSources {
|
||||
TELEMETRY_CURRENT_SOURCE_NONE,
|
||||
TELEMETRY_CURRENT_SOURCE_A1,
|
||||
TELEMETRY_CURRENT_SOURCE_A2,
|
||||
TELEMETRY_CURRENT_SOURCE_A3,
|
||||
TELEMETRY_CURRENT_SOURCE_A4,
|
||||
TELEMETRY_CURRENT_SOURCE_FAS
|
||||
};
|
||||
|
||||
class FrSkyData {
|
||||
public:
|
||||
FrSkyData() { clear(); }
|
||||
|
||||
Reference in New Issue
Block a user