aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pbdrv/mpack-config.h2
-rw-r--r--puzzle/dummy/FreeRTOSConfig.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pbdrv/mpack-config.h b/lib/pbdrv/mpack-config.h
index 994d9b7..5b1215c 100644
--- a/lib/pbdrv/mpack-config.h
+++ b/lib/pbdrv/mpack-config.h
@@ -13,7 +13,7 @@
#define MPACK_MEMCMP pb_memcmp
// more reasonable buffer size (all messages are small)
-#define MPACK_BUFFER_SIZE 256
+#define MPACK_BUFFER_SIZE 64
#define MPACK_STACK_SIZE MPACK_BUFFER_SIZE
#define MPACK_PAGE_SIZE MPACK_BUFFER_SIZE
diff --git a/puzzle/dummy/FreeRTOSConfig.h b/puzzle/dummy/FreeRTOSConfig.h
index 1d98f78..072fdf7 100644
--- a/puzzle/dummy/FreeRTOSConfig.h
+++ b/puzzle/dummy/FreeRTOSConfig.h
@@ -17,7 +17,7 @@
#define configSTACK_DEPTH_TYPE uint16_t
#define configSUPPORT_STATIC_ALLOCATION 0
#define configSUPPORT_DYNAMIC_ALLOCATION 1
-#define configTOTAL_HEAP_SIZE (1024)
+#define configTOTAL_HEAP_SIZE (1224)
// #define configTOTAL_HEAP_SIZE (7 * 1024)
#define configCHECK_FOR_STACK_OVERFLOW 0
#define configUSE_MALLOC_FAILED_HOOK 0