Fixed code style

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-11-16 14:01:39 -08:00
parent dbe3b0e52b
commit 3f20d78dfe
2 changed files with 9 additions and 5 deletions
+6 -4
View File
@@ -555,13 +555,15 @@ void VDev::showDevices()
std::string devname;
unsigned int index = 0;
i = 0;
do {
// Each look increments index and returns -1 if end reached
i = DevMgr::getNextDeviceName(index, devname);
i = DevMgr::getNextDeviceName(index, devname);
if (i == 0) {
PX4_INFO(" %s", devname.c_str());
}
} while (i==0);
PX4_INFO(" %s", devname.c_str());
}
} while (i == 0);
}
void VDev::showTopics()