From 8c7cbcb48d5ae06147dea556ba07bb2f7a5579ba Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 8 Oct 2014 16:23:48 -0600 Subject: [PATCH] Misc changes to get a clean build after all of the syslog changes. There are probably other things still broken --- configs/stm3210e-eval/src/up_lcd.c | 1 + configs/stm3220g-eval/src/up_lcd.c | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configs/stm3210e-eval/src/up_lcd.c b/configs/stm3210e-eval/src/up_lcd.c index ffa32c415fb..a295b53fc74 100644 --- a/configs/stm3210e-eval/src/up_lcd.c +++ b/configs/stm3210e-eval/src/up_lcd.c @@ -712,6 +712,7 @@ static void stm3210e_dumprun(FAR const char *msg, FAR uint16_t *run, size_t npix { syslog(LOG_DEBUG, " %04x", *run++); } + up_putc('\n'); } } diff --git a/configs/stm3220g-eval/src/up_lcd.c b/configs/stm3220g-eval/src/up_lcd.c index e772068936a..3592e8a8f83 100644 --- a/configs/stm3220g-eval/src/up_lcd.c +++ b/configs/stm3220g-eval/src/up_lcd.c @@ -549,15 +549,16 @@ static void stm3220g_dumprun(FAR const char *msg, FAR uint16_t *run, size_t npix { int i, j; - syslog("\n%s:\n", msg); + syslog(LOG_DEBUG, "\n%s:\n", msg); for (i = 0; i < npixels; i += 16) { up_putc(' '); - syslog(" "); + syslog(LOG_DEBUG, " "); for (j = 0; j < 16; j++) { - syslog(" %04x", *run++); + syslog(LOG_DEBUG, " %04x", *run++); } + up_putc('\n'); } }