summaryrefslogtreecommitdiffstats
path: root/firmware/include/buflib.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/buflib.h')
-rw-r--r--firmware/include/buflib.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/include/buflib.h b/firmware/include/buflib.h
index e54ec72a99..349e4a3e7a 100644
--- a/firmware/include/buflib.h
+++ b/firmware/include/buflib.h
@@ -43,7 +43,6 @@ union buflib_data
char* alloc; /* start of allocated memory area */
union buflib_data *handle; /* pointer to entry in the handle table.
Used during compaction for fast lookup */
- uint32_t crc; /* checksum of this data to detect corruption */
};
struct buflib_context
@@ -64,7 +63,7 @@ struct buflib_context
* The total number of bytes consumed by an allocation is
* BUFLIB_ALLOC_OVERHEAD + requested bytes + pad to pointer size
*/
-#define BUFLIB_ALLOC_OVERHEAD (5*sizeof(union buflib_data))
+#define BUFLIB_ALLOC_OVERHEAD (4*sizeof(union buflib_data))
/**
* Callbacks used by the buflib to inform allocation that compaction