auto-sync
This commit is contained in:
parent
ba48f6c18d
commit
a5c79706f5
|
@ -42,7 +42,16 @@ typedef struct {
|
||||||
char SMALL_BUFFER[40];
|
char SMALL_BUFFER[40];
|
||||||
// todo: explicitly default buffer externally so that we do not have default_buffer where we do not need it?
|
// todo: explicitly default buffer externally so that we do not have default_buffer where we do not need it?
|
||||||
char DEFAULT_BUFFER[200];
|
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;
|
char *buffer;
|
||||||
|
/**
|
||||||
|
* This pointer is always pointing at the position within the buffer into which next
|
||||||
|
* write operation would append additional data
|
||||||
|
*/
|
||||||
char *linePointer;
|
char *linePointer;
|
||||||
int bufferSize;
|
int bufferSize;
|
||||||
volatile int isInitialized;
|
volatile int isInitialized;
|
||||||
|
|
Loading…
Reference in New Issue