Support TimerController rename to Timer
Improvement done in https://github.com/InfiniTimeOrg/InfiniTime/pull/1650
This commit is contained in:
parent
0c63acd8c0
commit
6541af6170
|
@ -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
|
Loading…
Reference in New Issue
Block a user