another type fix...
This commit is contained in:
@@ -215,7 +215,7 @@ ModulePanel::ModulePanel(QWidget * parent, ModelData & model, ModuleData & modul
|
|||||||
}
|
}
|
||||||
|
|
||||||
// The protocols available on this board
|
// 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 (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
|
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);
|
ui->protocol->addItem("FrSky R9M Mini", (QVariant) i);
|
||||||
|
|||||||
Reference in New Issue
Block a user