reducing complexity just a bit

This commit is contained in:
rusefi 2017-06-03 22:12:44 -04:00
parent 2e70c3915e
commit e6e75ab888
2 changed files with 2 additions and 7 deletions

View File

@ -212,11 +212,6 @@ void printWithLength(char *line) {
consoleOutputBuffer((const uint8_t *) line, p - line);
}
void printLine(Logging *logging) {
printWithLength(logging->buffer);
resetLogging(logging);
}
void appendMsgPrefix(Logging *logging) {
append(logging, "msg" DELIMETER);
}
@ -250,7 +245,8 @@ void printMsg(Logging *logger, const char *fmt, ...) {
va_end(ap);
append(logger, DELIMETER);
printLine(logger);
printWithLength(logger->buffer);
resetLogging(logger);
}
/**

View File

@ -56,7 +56,6 @@ void debugFloat(Logging *logging, const char *text, float value, int precision);
void appendFloat(Logging *logging, float value, int precision);
void resetLogging(Logging *logging);
void printLine(Logging *logging);
void appendMsgPrefix(Logging *logging);
void appendMsgPostfix(Logging *logging);