Searched refs:logBufferIndex (Results 1 – 1 of 1) sorted by relevance
140 static uint16_t logBufferIndex = 0; variable150 logBuffer[logBufferIndex++] = c; in LogChar()151 if ((logBufferIndex == (LOG_BUFFER_SIZE - 1)) || (c == '\n')) { in LogChar()152 if ((c == '\n') && (logBufferIndex > 0)) { in LogChar()153 logBufferIndex--; // will trace out line separator after print the content out in LogChar()155 logBuffer[logBufferIndex] = '\0'; in LogChar()156 Output(logLevel, logBuffer, logBufferIndex); in LogChar()157 logBufferIndex = 0; in LogChar()