* [Companion] Change instance only for FrSky telemetry (#6671) * same for all PXX1 modules
This commit is contained in:
committed by
Bertrand Songis
parent
2546967df8
commit
40fe6022b4
@@ -44,6 +44,20 @@ bool ModuleData::isPxx2Module() const
|
||||
}
|
||||
}
|
||||
|
||||
bool ModuleData::isPxx1Module() const
|
||||
{
|
||||
switch(protocol){
|
||||
case PULSES_PXX_XJT_X16:
|
||||
case PULSES_PXX_R9M:
|
||||
case PULSES_PXX_R9M_LITE:
|
||||
case PULSES_PXX_R9M_LITE_PRO:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
QString ModuleData::rfProtocolToString() const
|
||||
{
|
||||
switch (protocol) {
|
||||
|
||||
Reference in New Issue
Block a user