Merge pull request #100 from InfiniTimeOrg/TimerController_to_Timer

Support TimerController rename to Timer
This commit is contained in:
NeroBurner
2023-05-01 21:04:45 +02:00
committed by GitHub
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 ${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 target_sources(infinisim PUBLIC
${InfiniTime_DIR}/src/wrappers/FreeRTOS/Timer.h ${InfiniTime_DIR}/src/components/timer/Timer.h
${InfiniTime_DIR}/src/wrappers/FreeRTOS/Timer.cpp ${InfiniTime_DIR}/src/components/timer/Timer.cpp
) )
else() else()
target_compile_definitions(infinisim PUBLIC INFINITIME_TIMERCONTROLLER) target_compile_definitions(infinisim PUBLIC INFINITIME_TIMERCONTROLLER)