From be9861e4fc5ac9984218975f3d5594f1db848224 Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期六, 13 十月 2018 12:48:56 +0800
Subject: [PATCH] 增加分段报警功能

---
 源码/核心板/Src/OnChipDevices/RTC.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/RTC.c" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/RTC.c"
index c952803..39aa7da 100644
--- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/RTC.c"
+++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/RTC.c"
@@ -51,7 +51,7 @@
 	RTC_ITConfig(RTC_IT_ALR,ENABLE); //?? RTC ???  
 		RTC_WaitForLastTask();
 	/* Set RTC prescaler: set RTC period to 1sec */
-	RTC_SetPrescaler(40000); /* RTC period = RTCCLK/RTC_PR = (32.768 KHz)/(32767+1) */
+	RTC_SetPrescaler(10000); /* RTC period = RTCCLK/RTC_PR = (32.768 KHz)/(32767+1) */
 
 	/* Wait until last write operation on RTC registers has finished */
 	RTC_WaitForLastTask();

--
Gitblit v1.9.3