another type fix...

This commit is contained in:
Raphael Coeffic
2019-08-18 20:24:31 +02:00
parent 9109648943
commit 2257272e5c
+1 -1
View File
@@ -215,7 +215,7 @@ ModulePanel::ModulePanel(QWidget * parent, ModelData & model, ModuleData & modul
}
// The protocols available on this board
for (int i=0; i<PULSES_PROTOCOL_LAST; i++) {
for (unsigned int i=0; i<PULSES_PROTOCOL_LAST; i++) {
if (firmware->isAvailable((PulsesProtocol) i, moduleIdx)) {
if (IS_TARANIS_XLITE(firmware->getBoard()) && i == PULSES_PXX_R9M) //TODO remove when mini are handled as a different module type
ui->protocol->addItem("FrSky R9M Mini", (QVariant) i);