rtc_driver moved to common/arm/stm32
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
void rtcSetTime(struct gtm * t)
|
void rtcSetTime(struct gtm * t)
|
||||||
{
|
{
|
||||||
@@ -40,7 +40,6 @@ set(GUI_SRC
|
|||||||
${LAYOUTS_SRC}
|
${LAYOUTS_SRC}
|
||||||
${WIDGETS_SRC}
|
${WIDGETS_SRC}
|
||||||
)
|
)
|
||||||
set(SRC ${SRC} targets/taranis/rtc_driver.cpp)
|
|
||||||
if(DISK_CACHE)
|
if(DISK_CACHE)
|
||||||
set(SRC ${SRC} disk_cache.cpp)
|
set(SRC ${SRC} disk_cache.cpp)
|
||||||
add_definitions(-DDISK_CACHE)
|
add_definitions(-DDISK_CACHE)
|
||||||
@@ -49,6 +48,7 @@ set(TARGET_SRC
|
|||||||
${TARGET_SRC}
|
${TARGET_SRC}
|
||||||
board.cpp
|
board.cpp
|
||||||
extmodule_driver.cpp
|
extmodule_driver.cpp
|
||||||
|
../common/arm/stm32/rtc_driver.cpp
|
||||||
)
|
)
|
||||||
set(FIRMWARE_TARGET_SRC
|
set(FIRMWARE_TARGET_SRC
|
||||||
${FIRMWARE_TARGET_SRC}
|
${FIRMWARE_TARGET_SRC}
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ set(TARGET_SRC
|
|||||||
${TARGET_SRC}
|
${TARGET_SRC}
|
||||||
board.cpp
|
board.cpp
|
||||||
extmodule_driver.cpp
|
extmodule_driver.cpp
|
||||||
rtc_driver.cpp
|
../common/arm/stm32/rtc_driver.cpp
|
||||||
)
|
)
|
||||||
set(FIRMWARE_SRC
|
set(FIRMWARE_SRC
|
||||||
${FIRMWARE_SRC}
|
${FIRMWARE_SRC}
|
||||||
|
|||||||
Reference in New Issue
Block a user