From a687a12d6333fc0e31dfd019893d7e49a3000d69 Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期日, 21 六月 2020 21:03:56 +0800
Subject: [PATCH] 1低功耗标签对5基站,测试完成

---
 Inc/main.h |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Inc/main.h b/Inc/main.h
index 5fa0da2..07df619 100644
--- a/Inc/main.h
+++ b/Inc/main.h
@@ -47,12 +47,17 @@
 extern ADC_HandleTypeDef hadc;
 extern LPTIM_HandleTypeDef hlptim1;
 extern uint16_t lastpoll_count,interval_count,slot_startcount,tag_frequency,tyncpoll_time,waitusart_timer;
+typedef uint32_t  u32;
+typedef uint16_t u16;
+typedef uint8_t  u8;
+extern uint16_t slottime,max_slotpos,current_slotnum;
+void SetNextPollTime(u16 time);
 /* USER CODE END ET */
 
 /* Exported constants --------------------------------------------------------*/
 /* USER CODE BEGIN EC */
 #define LPTIMER_LSB 30.518 //1 puls=30.518us
-#define LPTIMER_1S_COUNT 33095
+#define LPTIMER_1S_COUNT 32767
 #define USART_KEEPWAKE_TIME 60
 /* USER CODE END EC */
 

--
Gitblit v1.9.3