Support TimerController rename to Timer
Improvement done in https://github.com/InfiniTimeOrg/InfiniTime/pull/1650
This commit is contained in:
@@ -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)
|
||||
|
Submodule InfiniTime updated: 238a829577...40f7e1c7be
Reference in New Issue
Block a user