mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
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:
@@ -712,6 +712,7 @@ static void stm3210e_dumprun(FAR const char *msg, FAR uint16_t *run, size_t npix
|
|||||||
{
|
{
|
||||||
syslog(LOG_DEBUG, " %04x", *run++);
|
syslog(LOG_DEBUG, " %04x", *run++);
|
||||||
}
|
}
|
||||||
|
|
||||||
up_putc('\n');
|
up_putc('\n');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -549,15 +549,16 @@ static void stm3220g_dumprun(FAR const char *msg, FAR uint16_t *run, size_t npix
|
|||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
syslog("\n%s:\n", msg);
|
syslog(LOG_DEBUG, "\n%s:\n", msg);
|
||||||
for (i = 0; i < npixels; i += 16)
|
for (i = 0; i < npixels; i += 16)
|
||||||
{
|
{
|
||||||
up_putc(' ');
|
up_putc(' ');
|
||||||
syslog(" ");
|
syslog(LOG_DEBUG, " ");
|
||||||
for (j = 0; j < 16; j++)
|
for (j = 0; j < 16; j++)
|
||||||
{
|
{
|
||||||
syslog(" %04x", *run++);
|
syslog(LOG_DEBUG, " %04x", *run++);
|
||||||
}
|
}
|
||||||
|
|
||||||
up_putc('\n');
|
up_putc('\n');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user