Browse Source

Reduce LOGBUFSIZE by 384 bytes

In order to not use too much RAM with the RP2040_Audio target, we're reducing the LOGBUFSIZE define from 16384 to 16000 for the time being.
Alex Perez 2 năm trước cách đây
mục cha
commit
8ff56ce5ba
2 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 3 0
      .vscode/settings.json
  2. 1 1
      src/ZuluSCSI_config.h

+ 3 - 0
.vscode/settings.json

@@ -0,0 +1,3 @@
+{
+    "cmake.configureOnOpen": false
+}

+ 1 - 1
src/ZuluSCSI_config.h

@@ -41,7 +41,7 @@
 
 // Log buffer size in bytes, must be a power of 2
 #ifndef LOGBUFSIZE
-#define LOGBUFSIZE 16384
+#define LOGBUFSIZE 16000
 #endif
 #define LOG_SAVE_INTERVAL_MS 1000