From 29e06e5596c679e26e19a5391ab9c7de85b44045 Mon Sep 17 00:00:00 2001 From: Xavier Chapron Date: Thu, 21 Mar 2024 09:14:29 +0100 Subject: [PATCH] Patch build now that ERR_APD_LEN is no longuer available in the SDK headers --- src/common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common.h b/src/common.h index de89d37..0242282 100644 --- a/src/common.h +++ b/src/common.h @@ -22,6 +22,10 @@ // Error type mask #define ERROR_TYPE_MASK 0xF000 +// Length error +#ifndef ERR_APD_LEN +#define ERR_APD_LEN 0x6700 +#endif // Constants