SITL: better formatting of help output

This commit is contained in:
Beat Küng
2017-01-30 11:26:09 +01:00
committed by Lorenz Meier
parent 0a447e9a93
commit 998a407148

View File

@@ -39,9 +39,9 @@ ${builtin_apps_string}
void list_builtins(apps_map_type &apps)
{
PX4_INFO("Builtin Commands:\n");
printf("Builtin Commands:\n");
for (apps_map_type::iterator it = apps.begin(); it != apps.end(); ++it) {
PX4_INFO("%s : 0x%x\n", it->first.c_str(), it->second);
printf(" %s\n", it->first.c_str());
}
}