1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

New AMBE engine (1)

This commit is contained in:
f4exb
2019-07-19 18:38:03 +02:00
parent 418f083a81
commit 8d6a69eec6
303 changed files with 5248 additions and 298 deletions
+2 -2
View File
@@ -177,7 +177,7 @@ std::string AMBEEngine::get_driver(const std::string& tty)
}
#endif // not Windows
bool AMBEEngine::scan(std::vector<std::string>& ambeDevices)
bool AMBEEngine::scan(std::vector<QString>& ambeDevices)
{
getComList();
std::list<std::string>::iterator it = m_comList.begin();
@@ -189,7 +189,7 @@ bool AMBEEngine::scan(std::vector<std::string>& ambeDevices)
qDebug("AMBEEngine::scan: com: %s", it->c_str());
if (worker->open(*it))
{
ambeDevices.push_back(*it);
ambeDevices.push_back(QString(it->c_str()));
worker->close();
}