Commit 3c29b077 authored by Andrew C. Smith's avatar Andrew C. Smith

Check the board description in the LinkManager and display AeroCore instead of...

Check the board description in the LinkManager and display AeroCore instead of Pixhawk for the Gumstix AeroCore board.
parent f94abb0b
......@@ -481,7 +481,10 @@ void LinkManager::_updateConfigurationList(void)
}
} else {
// Lets create a new Serial configuration automatically
pSerial = new SerialConfiguration(QString("Pixhawk on %1").arg(portInfo.portName().trimmed()));
if (portInfo.description() == "AeroCore")
pSerial = new SerialConfiguration(QString("AeroCore on %1").arg(portInfo.portName().trimmed()));
else
pSerial = new SerialConfiguration(QString("Pixhawk on %1").arg(portInfo.portName().trimmed()));
pSerial->setDynamic(true);
pSerial->setPreferred(true);
pSerial->setBaud(115200);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment