Skip to content
Snippets Groups Projects
Commit 176491ce authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Misc changes to get a clean build after all of the syslog changes. There are...

Misc changes to get a clean build after all of the syslog changes.  There are probably other things still broken
parent c0382e8e
No related branches found
No related tags found
No related merge requests found
......@@ -210,13 +210,8 @@ extern const uint32_t g_idle_topstack;
/* Address of the saved user stack pointer */
#if CONFIG_ARCH_INTERRUPTSTACK > 3
#if defined(CONFIG_ARCH_CORTEXM0) || defined(CONFIG_ARCH_CORTEXM3) || \
defined(CONFIG_ARCH_CORTEXM4)
extern uint32_t g_intstackalloc; /* Allocated stack base */
extern uint32_t g_intstackbase; /* Initial top of interrupt stack */
# else
extern uint32_t g_intstackbase;
# endif
#endif
/* These 'addresses' of these values are setup by the linker script. They are
......
......@@ -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');
}
}
......
......@@ -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');
}
}
......
......@@ -119,7 +119,7 @@ int lowsyslog(int priority, FAR const char *fmt, ...)
#endif
{
va_start(ap, fmt);
ret = lowvsyslog(fmt, ap);
ret = lowvsyslog(priority, fmt, ap);
va_end(ap);
}
......
......@@ -146,7 +146,7 @@ int syslog(int priority, FAR const char *fmt, ...)
#endif
{
va_start(ap, fmt);
ret = vsyslog(fmt, ap);
ret = vsyslog(priority, fmt, ap);
va_end(ap);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment