From c84c6ca0dd7fa662fc589f02da10b3a89e45c659 Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期三, 06 一月 2021 11:36:16 +0800
Subject: [PATCH] 增加气压读取功能,未完成

---
 Src/main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Src/main.c b/Src/main.c
index 3148de6..10eba42 100644
--- a/Src/main.c
+++ b/Src/main.c
@@ -388,6 +388,7 @@
 			break;
 		case 2:
 			MX_TIM2_Init();
+		BarInit();
 			break;
 		}
 }
@@ -468,7 +469,7 @@
 	{ static uint16_t blink_count=0;
 		SystemClock_Config();
 		g_start_send_flag = 0;	
-		
+		GetPressAndTemp();
 //		if(current_count>slot_startcount&&current_count<slot_startcount+interval_count)
 //		{
 //		HAL_GPIO_WritePin(LED0_GPIO, GPIO_PIN_9, GPIO_PIN_SET);

--
Gitblit v1.9.3