aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sidrane <david_s5@nscdg.com>2015-01-27 14:55:20 -1000
committerLorenz Meier <lm@inf.ethz.ch>2015-02-11 07:40:58 +0100
commit0cdf1a10e69bb6323c28d27b4b39feaf2f81dd7c (patch)
tree7efd682589d62324ad340ae59d1cdd883eb8dcf1
parenta9fb098e832caa33052d7e053fc1fb33793345cc (diff)
downloadpx4-firmware-0cdf1a10e69bb6323c28d27b4b39feaf2f81dd7c.tar.gz
px4-firmware-0cdf1a10e69bb6323c28d27b4b39feaf2f81dd7c.tar.bz2
px4-firmware-0cdf1a10e69bb6323c28d27b4b39feaf2f81dd7c.zip
removed message in favor of syslog
-rw-r--r--src/drivers/boards/px4fmu-v2/px4fmu2_init.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/drivers/boards/px4fmu-v2/px4fmu2_init.c b/src/drivers/boards/px4fmu-v2/px4fmu2_init.c
index e32c18759..566e94c64 100644
--- a/src/drivers/boards/px4fmu-v2/px4fmu2_init.c
+++ b/src/drivers/boards/px4fmu-v2/px4fmu2_init.c
@@ -83,22 +83,6 @@ __END_DECLS
/* Configuration ************************************************************/
-/* Debug ********************************************************************/
-
-#ifdef CONFIG_CPP_HAVE_VARARGS
-# ifdef CONFIG_DEBUG
-# define message(...) lowsyslog(__VA_ARGS__)
-# else
-# define message(...) printf(__VA_ARGS__)
-# endif
-#else
-# ifdef CONFIG_DEBUG
-# define message lowsyslog
-# else
-# define message printf
-# endif
-#endif
-
/****************************************************************************
* Protected Functions
****************************************************************************/
@@ -337,7 +321,7 @@ __EXPORT int nsh_archinitialize(void)
SPI_SELECT(spi4, PX4_SPIDEV_EXT0, false);
SPI_SELECT(spi4, PX4_SPIDEV_EXT1, false);
- message("[boot] Initialized SPI port 4\n");
+ syslog(LOG_INFO,"[boot] Initialized SPI port 4\n");
#ifdef CONFIG_MMCSD
/* First, get an instance of the SDIO interface */