fix: zorro - date and time reset issue (#1643)

Fixes removal of battery or DFU connection causing RTC time and date  to be reset
This commit is contained in:
zyren
2022-02-28 11:09:02 +10:00
committed by GitHub
parent 79e0a212e7
commit 5f09d7fe39
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -193,6 +193,7 @@ elseif(PCB STREQUAL X7)
set(FIRMWARE_TARGET_SRC
${FIRMWARE_TARGET_SRC}
startup_stm32f40_41xxx.s
../../thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash.c
)
add_definitions(-DSTM32F40_41xxx)
set(ROTARY_ENCODER YES)