From 876d678a5bf389df43f4d67cab448273e6da619a Mon Sep 17 00:00:00 2001 From: Dave Meehan Date: Sat, 15 Oct 2022 18:39:16 +0100 Subject: [PATCH] Fix lack of LORAMAC_ prefix when passing region options --- as-lib/mac/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/as-lib/mac/CMakeLists.txt b/as-lib/mac/CMakeLists.txt index 63452b53a..347d3a326 100644 --- a/as-lib/mac/CMakeLists.txt +++ b/as-lib/mac/CMakeLists.txt @@ -33,7 +33,7 @@ if (NOT TARGET ${PROJECT_NAME}) ${LORAMAC_SOURCE_DIR}/mac/secure-element-nvm.h ${LORAMAC_SOURCE_DIR}/mac/region/Region.h ${LORAMAC_SOURCE_DIR}/mac/region/RegionCommon.h - $<$,$>:${LORAMAC_SOURCE_DIR}/mac/region/RegionBaseUS.h> + $<$,$>:${LORAMAC_SOURCE_DIR}/mac/region/RegionBaseUS.h> PRIVATE ${LORAMAC_SOURCE_DIR}/mac/LoRaMac.c @@ -68,7 +68,7 @@ if (NOT TARGET ${PROJECT_NAME}) target_compile_definitions( ${PROJECT_NAME} PUBLIC - $<$:REGION_${REGION}> + $<$:REGION_${REGION}> ) endif()