reduce log buffer

This commit is contained in:
Steven Dan
2026-03-21 16:28:55 +08:00
parent 13f67458bb
commit dbdec19fd0
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
unsigned long get_reference_time();
int itoa(unsigned n, char *buf, unsigned base, int fill);
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];
// Override the weak symbol used for print messages

View File

@@ -111,7 +111,7 @@ void UserReadHIDPass(unsigned char hidPassData[])
#if DEBUG_MEMORY_LOG_ENABLED
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];
unsigned int log_index = 0;