Skip to content

Commit

Permalink
get rid of rest of use_sensor_move references
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Jul 2, 2024
1 parent 3b15ae0 commit 4e36eed
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions common/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 0 additions & 3 deletions gripper/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 0 additions & 3 deletions pipettes/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4e36eed

Please sign in to comment.