diff --git a/common/core/CMakeLists.txt b/common/core/CMakeLists.txt index 1f6564e5a..292f4d36d 100644 --- a/common/core/CMakeLists.txt +++ b/common/core/CMakeLists.txt @@ -54,11 +54,7 @@ function(add_revision) message(STATUS "add_revision has target ${_ar_TARGET} and revision ${_ar_REVISION}") string(SUBSTRING ${_ar_REVISION} 0 1 PRIMARY_REVISION) string(SUBSTRING ${_ar_REVISION} 1 1 SECONDARY_REVISION) - if (${USE_SENSOR_MOVE}) - set(TERTIARY_FLAG "'1'") - else() set(TERTIARY_FLAG "0x00") - endif() configure_file(${CMAKE_SOURCE_DIR}/common/core/revision.c.in ${CMAKE_CURRENT_BINARY_DIR}/${_ar_TARGET}_revision.c) diff --git a/gripper/core/CMakeLists.txt b/gripper/core/CMakeLists.txt index c939e9121..50a9adab7 100644 --- a/gripper/core/CMakeLists.txt +++ b/gripper/core/CMakeLists.txt @@ -1,7 +1,4 @@ function(target_gripper_core TARGET) - if(${USE_SENSOR_MOVE}) - target_compile_definitions(${TARGET} PUBLIC USE_SENSOR_MOVE) - endif() target_compile_definitions(${TARGET} PUBLIC SENSOR_BUFF_SIZE=500) target_compile_definitions(${TARGET} PUBLIC USE_TWO_BUFFERS=true) target_sources(${TARGET} PUBLIC diff --git a/pipettes/core/CMakeLists.txt b/pipettes/core/CMakeLists.txt index 29daf4dd4..70bc6fd53 100644 --- a/pipettes/core/CMakeLists.txt +++ b/pipettes/core/CMakeLists.txt @@ -1,7 +1,4 @@ function(target_pipettes_core_common TARGET REVISION) - if(${USE_SENSOR_MOVE}) - target_compile_definitions(${TARGET} PUBLIC USE_SENSOR_MOVE) - endif() target_sources(${TARGET} PUBLIC ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/configs.cpp ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/peripheral_tasks.cpp