From f995c26de92eadbf3d961ad3e0fb233410798dd2 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Mon, 2 Jan 2023 19:49:56 +0000 Subject: buflib: Add CONFIG_BUFLIB_BACKEND for selecting a buflib backend Defaults to the normal "mempool" backend, which is currently the only implementation. Change-Id: I56d034a6e0f5edc90c39526d1551945eec6ca336 --- firmware/include/buflib_mempool.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/include/buflib_mempool.h') diff --git a/firmware/include/buflib_mempool.h b/firmware/include/buflib_mempool.h index 61fe2168b0..f261d4abda 100644 --- a/firmware/include/buflib_mempool.h +++ b/firmware/include/buflib_mempool.h @@ -26,6 +26,10 @@ #ifndef _BUFLIB_MEMPOOL_H_ #define _BUFLIB_MEMPOOL_H_ +#ifndef _BUFLIB_H_ +# error "include buflib.h instead" +#endif + #include #include #include -- cgit v1.2.3