REVERT THIS COMMIT LATER: Temporarily disable the device listing

This commit is contained in:
Lorenz Meier
2015-11-12 15:31:38 +01:00
parent 260eaa9d95
commit cc8f159bcc
2 changed files with 29 additions and 26 deletions
+7 -6
View File
@@ -550,13 +550,14 @@ void VDev::showDevices()
pthread_mutex_unlock(&devmutex);
PX4_INFO("DF Devices:");
// TODO NOT IMPLEMENTED
std::string devname;
for (unsigned int index=0; i == 0; ++i) {
if (DevMgr::getNextDeviceName(index, devname) == 0) {
PX4_INFO(" %s", devname.c_str());
}
}
// std::string devname;
// for (unsigned int index=0; i == 0; ++i) {
// if (DevMgr::getNextDeviceName(index, devname) == 0) {
// PX4_INFO(" %s", devname.c_str());
// }
// }
}
void VDev::showTopics()