From e6575a9a2367f11b0ee49fadd2ac90ca347b8832 Mon Sep 17 00:00:00 2001 From: Lucas Wennerholm Date: Fri, 11 Apr 2025 17:18:06 +0200 Subject: [PATCH] Update error codes --- src/static_queue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static_queue.h b/src/static_queue.h index 6fe7552..da1ec1a 100644 --- a/src/static_queue.h +++ b/src/static_queue.h @@ -80,8 +80,8 @@ // Package queue typedef enum { STATIC_QUEUE_SUCCESS = 0, - STATIC_QUEUE_FULL = -1, - STATIC_QUEUE_EMPTY = -2, + STATIC_QUEUE_FULL = -401, + STATIC_QUEUE_EMPTY = -402, } queueErr_t; typedef struct staticQueueItem staticQueueItem_t;