aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/mpack-config.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 17:29:25 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 17:29:25 +0200
commit3f3bef9c6bf0b9143da80e4b4363eb0362fb91c9 (patch)
treec4344b281fd589690b6b82bc6b5c2e91a4f2a13f /lib/pbdrv/mpack-config.h
parentc1007f50de3ad7284d4a1afa6bfb3b6e427c3556 (diff)
clean up code for getting main controller compiling again
Diffstat (limited to 'lib/pbdrv/mpack-config.h')
-rw-r--r--lib/pbdrv/mpack-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pbdrv/mpack-config.h b/lib/pbdrv/mpack-config.h
index f040698..994d9b7 100644
--- a/lib/pbdrv/mpack-config.h
+++ b/lib/pbdrv/mpack-config.h
@@ -9,6 +9,8 @@
#define MPACK_FREE pb_free
#define MPACK_MALLOC pb_malloc
#define MPACK_REALLOC pb_realloc
+#define MPACK_MEMCPY pb_memcpy
+#define MPACK_MEMCMP pb_memcmp
// more reasonable buffer size (all messages are small)
#define MPACK_BUFFER_SIZE 256