From 6e05e12690b25544bc4d678a9b814a864afe0b8d Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期六, 23 五月 2020 18:52:17 +0800 Subject: [PATCH] V1.23 标签没数据2S之后,MODBUS输出0x1ffff --- 源码/核心板/Src/OnChipDevices/RTC.h | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/RTC.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/RTC.h" index 953178f..e020502 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/RTC.h" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/RTC.h" @@ -1,4 +1,10 @@ +#ifndef __RTC_H_ +#define __RTC_H_ + #include "stm32f10x.h" -void RTC_Configuration(void); \ No newline at end of file +void RTC_Configuration(uint16_t interval); + + +#endif -- Gitblit v1.9.3