This commit is contained in:
rusefi 2018-08-31 22:47:16 -04:00
parent d92d4f0c87
commit 57bd9dc474
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,8 @@ void printWithLength(char *line) {
* When we work with actual hardware, it is faster to invoke 'chSequentialStreamWrite' for the
* whole buffer then to invoke 'chSequentialStreamPut' once per character.
*/
// todo: if needed we can probably know line length without calculating it, but seems like this is done not
// under a lock so not a problem?
int len = efiStrlen(line);
strcpy(header, "line:");
char *p = header + efiStrlen(header);