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:
parent
c0382e8e17
commit
176491ce75
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user