[Companion] Change instance only for FrSky telemetry (#6671) (#6677)

* [Companion] Change instance only for FrSky telemetry (#6671)

* same for all PXX1 modules
This commit is contained in:
Raphael Coeffic
2019-08-28 11:38:44 +02:00
committed by Bertrand Songis
parent 2546967df8
commit 40fe6022b4
3 changed files with 23 additions and 3 deletions
+1
View File
@@ -183,6 +183,7 @@ class ModuleData {
void clear() { memset(this, 0, sizeof(ModuleData)); }
void convert(RadioDataConversionState & cstate);
bool isPxx2Module() const;
bool isPxx1Module() const;
QString polarityToString() const { return ppm.pulsePol ? tr("Positive") : tr("Negative"); }
QString rfProtocolToString() const;
QString subTypeToString(int type = -1) const;