Merge branch 'bugfix/modbus_debug_message_v4.4' into 'release/v4.4'

esp-modbus: fix debug message being printed for all builds

See merge request espressif/esp-idf!22523
This commit is contained in:
Marius Vikhammer 2023-03-09 09:48:29 +08:00
commit 91930c4a6e

View File

@ -57,8 +57,6 @@ add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/freemodbus/" ${srcs})
add_prefix(include_dirs "${CMAKE_CURRENT_LIST_DIR}/freemodbus/" ${include_dirs})
add_prefix(priv_include_dirs "${CMAKE_CURRENT_LIST_DIR}/freemodbus/" ${priv_include_dirs})
message(STATUS "DEBUG: Use esp-modbus component folder: ${CMAKE_CURRENT_LIST_DIR}.")
set(requires driver lwip)
# esp_timer component was introduced in v4.2