reduce log buffer
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
unsigned long get_reference_time();
|
unsigned long get_reference_time();
|
||||||
int itoa(unsigned n, char *buf, unsigned base, int fill);
|
int itoa(unsigned n, char *buf, unsigned base, int fill);
|
||||||
unsigned int debug_memory_log_buffer_index = 0;
|
unsigned int debug_memory_log_buffer_index = 0;
|
||||||
#define DEBUG_MEMORY_LOG_BUFFER_SIZE 4048
|
#define DEBUG_MEMORY_LOG_BUFFER_SIZE 2048
|
||||||
unsigned char debug_memory_log_buffer[DEBUG_MEMORY_LOG_BUFFER_SIZE];
|
unsigned char debug_memory_log_buffer[DEBUG_MEMORY_LOG_BUFFER_SIZE];
|
||||||
|
|
||||||
// Override the weak symbol used for print messages
|
// Override the weak symbol used for print messages
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ void UserReadHIDPass(unsigned char hidPassData[])
|
|||||||
#if DEBUG_MEMORY_LOG_ENABLED
|
#if DEBUG_MEMORY_LOG_ENABLED
|
||||||
|
|
||||||
extern unsigned int debug_memory_log_buffer_index;
|
extern unsigned int debug_memory_log_buffer_index;
|
||||||
#define DEBUG_MEMORY_LOG_BUFFER_SIZE 4048
|
#define DEBUG_MEMORY_LOG_BUFFER_SIZE 2048
|
||||||
extern unsigned char debug_memory_log_buffer[DEBUG_MEMORY_LOG_BUFFER_SIZE];
|
extern unsigned char debug_memory_log_buffer[DEBUG_MEMORY_LOG_BUFFER_SIZE];
|
||||||
unsigned int log_index = 0;
|
unsigned int log_index = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user