auto-sync

This commit is contained in:
rusEfi 2014-11-16 11:03:23 -06:00
parent ba48f6c18d
commit a5c79706f5
1 changed files with 9 additions and 0 deletions

View File

@ -42,7 +42,16 @@ typedef struct {
char SMALL_BUFFER[40];
// todo: explicitly default buffer externally so that we do not have default_buffer where we do not need it?
char DEFAULT_BUFFER[200];
/**
* Zero-terminated buffer of pending debug message
*
* Unless a larger exteran buffer is specified, this is just a pointer to DEFAULT_BUFFER
*/
char *buffer;
/**
* This pointer is always pointing at the position within the buffer into which next
* write operation would append additional data
*/
char *linePointer;
int bufferSize;
volatile int isInitialized;