mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-22 07:21:06 +00:00
esp32: fixed version macro
This commit is contained in:
parent
71eeb649e0
commit
9d834d7c2f
@ -44,7 +44,7 @@ set(src_dirs
|
||||
"${IDF_PATH}/components/lwip/lwip/src/apps/http"
|
||||
".")
|
||||
|
||||
if(IDF_VER VERSION_GREATER_EQUAL "v5.0.0")
|
||||
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.0")
|
||||
set(exclude_srcs "btstack_audio_esp32_v4.c")
|
||||
else()
|
||||
set(exclude_srcs "btstack_audio_esp32_v5.c")
|
||||
|
Loading…
x
Reference in New Issue
Block a user