From 3c29b0774652b76a78e91d3f9889c8db764263f4 Mon Sep 17 00:00:00 2001 From: "Andrew C. Smith" Date: Mon, 1 Jun 2015 12:46:06 -0700 Subject: [PATCH] Check the board description in the LinkManager and display AeroCore instead of Pixhawk for the Gumstix AeroCore board. --- src/comm/LinkManager.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/comm/LinkManager.cc b/src/comm/LinkManager.cc index 8e1eae0..db0926b 100644 --- a/src/comm/LinkManager.cc +++ b/src/comm/LinkManager.cc @@ -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);