added receiver display to sensors

This commit is contained in:
Raphael Coeffic
2019-08-20 00:50:28 +02:00
parent 645fb219f8
commit 5fa820f98d
6 changed files with 112 additions and 5 deletions
+14
View File
@@ -30,6 +30,20 @@ void ModuleData::convert(RadioDataConversionState & cstate)
}
}
bool ModuleData::isPxx2Module() const
{
switch(protocol){
case PULSES_ACCESS_ISRM:
case PULSES_ACCESS_R9M:
case PULSES_ACCESS_R9M_LITE:
case PULSES_ACCESS_R9M_LITE_PRO:
case PULSES_XJT_LITE_X16:
return true;
default:
return false;
}
}
QString ModuleData::rfProtocolToString() const
{
switch (protocol) {