replace fprintf(stderr with PX4_{INFO/WARN}

This commit is contained in:
Beat Küng
2019-06-04 11:57:54 +02:00
committed by Julian Oes
parent d947818654
commit 08b8ee4831
4 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -44,6 +44,7 @@
*/
#include <px4_config.h>
#include <px4_log.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
@@ -76,8 +77,7 @@ static void usage();
static void usage()
{
fprintf(stderr, "usage: roboclaw "
"{start|stop|status|test}\n\n");
PX4_INFO("usage: roboclaw {start|stop|status|test}");
}
/**