From 51d40ee104a935b21b580357a289a4bcf2978178 Mon Sep 17 00:00:00 2001 From: Rahix <rahix@rahix.de> Date: Sat, 5 Oct 2019 21:54:33 +0200 Subject: [PATCH] fix(docs): Fix a docs-build warning Signed-off-by: Rahix <rahix@rahix.de> --- epicardium/modules/stream.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/epicardium/modules/stream.h b/epicardium/modules/stream.h index 1327fd7a..ca6bc0f6 100644 --- a/epicardium/modules/stream.h +++ b/epicardium/modules/stream.h @@ -4,14 +4,15 @@ #include <stdint.h> #ifndef __SPHINX_DOC -/* stddef.h is not recognized by hawkmoth for some odd reason */ +/* Some headers are not recognized by hawkmoth for some odd reason */ #include <stddef.h> -#else -typedef unsigned int size_t; -#endif /* __SPHINX_DOC */ #include "FreeRTOS.h" #include "queue.h" +#else +typedef unsigned int size_t; +typedef void *QueueHandle_t; +#endif /* __SPHINX_DOC */ /* Time to wait for the descriptor table lock to become available */ #define STREAM_MUTEX_WAIT pdMS_TO_TICKS(100) -- GitLab