Commit 3d52fe33 authored by Aurelio Colosimo's avatar Aurelio Colosimo

fix compilation of ppsi submodule

This patch is just a fix needed to make ppsi engine compile without having
to change the ptp-noposix wrc_debug_printf function
Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
parent 28713055
......@@ -114,7 +114,6 @@ static int wrc_check_link()
int wrc_extra_debug = 0;
#ifndef CONFIG_PPSI
void wrc_debug_printf(int subsys, const char *fmt, ...)
{
va_list ap;
......@@ -122,15 +121,17 @@ void wrc_debug_printf(int subsys, const char *fmt, ...)
if (wrc_ui_mode)
return;
#ifndef CONFIG_PPSI
va_start(ap, fmt);
if (wrc_extra_debug || (!wrc_extra_debug && (subsys & TRACE_SERVO)))
vprintf(fmt, ap);
va_end(ap);
}
#else
pp_vsprintf(subsys, fmt, ap);
#endif
}
int wrc_man_phase = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment