Support TimerController rename to Timer

Improvement done in https://github.com/InfiniTimeOrg/InfiniTime/pull/1650
This commit is contained in:
Reinhold Gschweicher 2023-05-01 20:56:56 +02:00
parent 0c63acd8c0
commit 6541af6170
2 changed files with 4 additions and 4 deletions

View File

@ -214,10 +214,10 @@ target_sources(infinisim PUBLIC
${InfiniTime_DIR}/src/displayapp/InfiniTimeTheme.h
)
if(EXISTS ${InfiniTime_DIR}/src/wrappers/FreeRTOS/Timer.h)
if(EXISTS ${InfiniTime_DIR}/src/components/timer/Timer.h)
target_sources(infinisim PUBLIC
${InfiniTime_DIR}/src/wrappers/FreeRTOS/Timer.h
${InfiniTime_DIR}/src/wrappers/FreeRTOS/Timer.cpp
${InfiniTime_DIR}/src/components/timer/Timer.h
${InfiniTime_DIR}/src/components/timer/Timer.cpp
)
else()
target_compile_definitions(infinisim PUBLIC INFINITIME_TIMERCONTROLLER)

@ -1 +1 @@
Subproject commit 238a829577c71dc9cfc5d96d01d098e47c9508ef
Subproject commit 40f7e1c7be6882e01058b5ccf64d5005c6105346