Misc changes to get a clean build after all of the syslog changes. There are probably other things still broken

This commit is contained in:
Gregory Nutt 2014-10-08 16:23:48 -06:00
parent 2b77c9ceb9
commit 8c7cbcb48d
2 changed files with 5 additions and 3 deletions

View File

@ -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');
}
}

View File

@ -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');
}
}