POSIX: fixed printf to use PX4_INFO

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2015-05-19 13:37:59 -07:00
parent 7301b59d14
commit 30895c2dfd
1 changed files with 3 additions and 3 deletions

View File

@ -476,7 +476,7 @@ void VDev::showDevices()
PX4_INFO("Devices:\n");
for (; i<PX4_MAX_DEV; ++i) {
if (devmap[i] && strncmp(devmap[i]->name, "/dev/", 5) == 0) {
printf(" %s\n", devmap[i]->name);
PX4_INFO(" %s\n", devmap[i]->name);
}
}
}
@ -487,7 +487,7 @@ void VDev::showTopics()
PX4_INFO("Devices:\n");
for (; i<PX4_MAX_DEV; ++i) {
if (devmap[i] && strncmp(devmap[i]->name, "/obj/", 5) == 0) {
printf(" %s\n", devmap[i]->name);
PX4_INFO(" %s\n", devmap[i]->name);
}
}
}
@ -499,7 +499,7 @@ void VDev::showFiles()
for (; i<PX4_MAX_DEV; ++i) {
if (devmap[i] && strncmp(devmap[i]->name, "/obj/", 5) != 0 &&
strncmp(devmap[i]->name, "/dev/", 5) != 0) {
printf(" %s\n", devmap[i]->name);
PX4_INFO(" %s\n", devmap[i]->name);
}
}
}