Update CANopenNode & CO_gateway_ascii: "log" inquiry now works.
This commit is contained in:
parent
52ffe7acb0
commit
064b4c4e70
2 changed files with 1 additions and 2 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit fbd42d46a280b957c530c65ee6981c172fd6f635
|
Subproject commit ef9ac3a2279e34855a20c787fc1bc48bc995ec22
|
||||||
|
|
@ -154,7 +154,6 @@ log_printf(int priority, const char* format, ...) {
|
||||||
va_start(ap, format);
|
va_start(ap, format);
|
||||||
vsnprintf(buf + len, sizeof(buf) - len - 2, format, ap);
|
vsnprintf(buf + len, sizeof(buf) - len - 2, format, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
strcat(buf, "\r\n");
|
|
||||||
CO_GTWA_log_print(CO->gtwa, buf);
|
CO_GTWA_log_print(CO->gtwa, buf);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue