Skip to content

Commit

Permalink
Fix ubxlib compiling problem for Zephyr
Browse files Browse the repository at this point in the history
ubxlib uses its own port when compiling for Zephyr, so ucxclient must not
try to compile the Zephyr port in this case.
  • Loading branch information
antevir committed Mar 7, 2024
1 parent b096c79 commit 4e8d9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/u_cx_at_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4e8d9c7

Please sign in to comment.