Made a new RTC system. The STM32F4xx RTC is used for thread safety and the mainboard RTC is used to set the STM32F4xx RTC.