diff --git a/src/hal/CMakeLists.txt b/src/hal/CMakeLists.txt index 04c4602..77c7d99 100644 --- a/src/hal/CMakeLists.txt +++ b/src/hal/CMakeLists.txt @@ -5,7 +5,7 @@ target_sources( avr/shr16.cpp avr/eeprom.cpp avr/timers.cpp - avr/tmc2130.cpp + tmc2130.cpp adc.cpp avr/spi.cpp ) diff --git a/src/hal/avr/tmc2130.cpp b/src/hal/tmc2130.cpp similarity index 99% rename from src/hal/avr/tmc2130.cpp rename to src/hal/tmc2130.cpp index 8c17e85..a08e0e3 100644 --- a/src/hal/avr/tmc2130.cpp +++ b/src/hal/tmc2130.cpp @@ -1,5 +1,5 @@ -#include "../tmc2130.h" -#include "../../config/config.h" +#include "tmc2130.h" +#include "../config/config.h" namespace hal { namespace tmc2130 { diff --git a/tests/unit/modules/motion/CMakeLists.txt b/tests/unit/modules/motion/CMakeLists.txt index ce17dff..fb7be25 100644 --- a/tests/unit/modules/motion/CMakeLists.txt +++ b/tests/unit/modules/motion/CMakeLists.txt @@ -5,7 +5,7 @@ set(source_common ${CMAKE_SOURCE_DIR}/src/modules/speed_table.cpp ${CMAKE_SOURCE_DIR}/src/modules/pulse_gen.cpp ${MODULES_STUBS_DIR}/stub_gpio.cpp - ${CMAKE_SOURCE_DIR}/src/hal/avr/tmc2130.cpp + ${CMAKE_SOURCE_DIR}/src/hal/tmc2130.cpp ${MODULES_STUBS_DIR}/stub_shr16.cpp ${MODULES_STUBS_DIR}/stub_spi.cpp )