From 9079b5400140fde6a2acd32ab213475c03c56df2 Mon Sep 17 00:00:00 2001
From: Julian Oes <julian@oes.ch>
Date: Wed, 1 Jun 2016 14:04:58 +0100
Subject: [PATCH] POSIX: be less verbose on startup

---
 src/platforms/posix/px4_layer/px4_posix_impl.cpp | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/platforms/posix/px4_layer/px4_posix_impl.cpp b/src/platforms/posix/px4_layer/px4_posix_impl.cpp
index 6adeb39731..7f8a08a5d1 100644
--- a/src/platforms/posix/px4_layer/px4_posix_impl.cpp
+++ b/src/platforms/posix/px4_layer/px4_posix_impl.cpp
@@ -72,20 +72,19 @@ void init_once(void);
 void init_once(void)
 {
 	_shell_task_id = pthread_self();
-	printf("[init] shell id: %lu\n", (unsigned long)_shell_task_id);
+	//printf("[init] shell id: %lu\n", (unsigned long)_shell_task_id);
 	work_queues_init();
 	hrt_work_queue_init();
 	hrt_init();
 
 #ifdef CONFIG_SHMEM
-	PX4_INFO("Syncing params to shared memory\n");
+	PX4_DEBUG("Syncing params to shared memory\n");
 	init_params();
 #endif
 }
 
 void init(int argc, char *argv[], const char *app_name)
 {
-	printf("[init] task name: %s\n", app_name);
 	printf("\n");
 	printf("______  __   __    ___ \n");
 	printf("| ___ \\ \\ \\ / /   /   |\n");
@@ -94,8 +93,7 @@ void init(int argc, char *argv[], const char *app_name)
 	printf("| |     / /^\\ \\ \\___  |\n");
 	printf("\\_|     \\/   \\/     |_/\n");
 	printf("\n");
-	printf("Ready to fly.\n");
-	printf("\n");
+	printf("%s starting.\n", app_name);
 	printf("\n");
 
 	// set the threads name
-- 
GitLab