From 4e8d9c76fb42a972b21355f34dfd007382b5f0b0 Mon Sep 17 00:00:00 2001 From: Andreas Anderberg Date: Wed, 28 Feb 2024 14:30:38 +0100 Subject: [PATCH] Fix ubxlib compiling problem for Zephyr ubxlib uses its own port when compiling for Zephyr, so ucxclient must not try to compile the Zephyr port in this case. --- inc/u_cx_at_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/u_cx_at_config.h b/inc/u_cx_at_config.h index 45d3790..d03fa5e 100644 --- a/inc/u_cx_at_config.h +++ b/inc/u_cx_at_config.h @@ -20,7 +20,7 @@ #ifndef U_CX_AT_CONFIG_H #define U_CX_AT_CONFIG_H -#ifdef __ZEPHYR__ +#if defined(__ZEPHYR__) && defined(CONFIG_UCXCLIENT) # include "u_port_zephyr.h" #elif defined(U_PORT_NO_OS) # include "u_port_no_os.h"