From 4b419bd1ad9f22266e068341176f5ab665a26222 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 5 Mar 2020 19:15:28 +0100 Subject: Working on DSSS demodulator sim --- controller/fw/src/sr_global.h | 1 + 1 file changed, 1 insertion(+) (limited to 'controller/fw/src/sr_global.h') diff --git a/controller/fw/src/sr_global.h b/controller/fw/src/sr_global.h index 8aa219d..abbad93 100644 --- a/controller/fw/src/sr_global.h +++ b/controller/fw/src/sr_global.h @@ -2,6 +2,7 @@ #define __SR_GLOBAL_H__ #define UNUSED(x) ((void) x) +#define ARRAY_LENGTH(x) (sizeof(x) / sizeof(x[0])) static inline uint16_t htole(uint16_t val) { return val; } -- cgit