aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Sidrane <david_s5@nscdg.com>2015-01-27 14:55:20 -1000
committerDavid Sidrane <david_s5@nscdg.com>2015-04-07 07:18:45 -1000
commitd080bcb51670b518f886f121c8be53b33721aa0a (patch)
treeb8304d9ce220914c5e26fdd4c239722f52462f0e /src
parentf029a1c0226c0b53fc3e6ac733198580462bf47b (diff)
downloadpx4-firmware-d080bcb51670b518f886f121c8be53b33721aa0a.tar.gz
px4-firmware-d080bcb51670b518f886f121c8be53b33721aa0a.tar.bz2
px4-firmware-d080bcb51670b518f886f121c8be53b33721aa0a.zip
removed message in favor of syslog
Diffstat (limited to 'src')
-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 */