aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/mpack-config.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 15:39:03 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 15:39:03 +0200
commit1e54994000d1c26e9cbd724b76da5ceb273f9cbb (patch)
tree3c3fb7fab24a7d91438d22555daecc60d7962c30 /lib/pbdrv/mpack-config.h
parent573ee2dd6790c00c9e0f709f222bc2a68f015d6d (diff)
i2c reply kinda working
Diffstat (limited to 'lib/pbdrv/mpack-config.h')
-rw-r--r--lib/pbdrv/mpack-config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/pbdrv/mpack-config.h b/lib/pbdrv/mpack-config.h
index 7e7d0b2..f040698 100644
--- a/lib/pbdrv/mpack-config.h
+++ b/lib/pbdrv/mpack-config.h
@@ -11,11 +11,11 @@
#define MPACK_REALLOC pb_realloc
// more reasonable buffer size (all messages are small)
-#define MPACK_BUFFER_SIZE 80
-#define MPACK_STACK_SIZE 80
-#define MPACK_PAGE_SIZE 80
+#define MPACK_BUFFER_SIZE 256
+#define MPACK_STACK_SIZE MPACK_BUFFER_SIZE
+#define MPACK_PAGE_SIZE MPACK_BUFFER_SIZE
-// // disable unused features (causes errors?)
-// #define MPACK_NODE 0
-// #define MPACK_BUILDER 0
+// disable unused features (causes errors?)
+#define MPACK_NODE 0
+#define MPACK_BUILDER 0