From 3840e6a73b2a542a35da034897b51747eabd571a Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期二, 08 十二月 2020 16:41:02 +0800
Subject: [PATCH] V2.12

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

diff --git a/Inc/main.h b/Inc/main.h
index ecdaf2a..a48fd5c 100644
--- a/Inc/main.h
+++ b/Inc/main.h
@@ -106,10 +106,12 @@
 #define LED2_R_GPIO_Port GPIOB
 #define PWR_ON_Pin GPIO_PIN_7
 #define PWR_ON_GPIO_Port GPIOB
+#define PWR_CTL_Pin GPIO_PIN_9
+#define PWR_CTL_GPIO_Port GPIOB
 /* USER CODE BEGIN Private defines */
 #define GET_IMUINT 		HAL_GPIO_ReadPin(GPIOA,GPIO_PIN_0)
 #define GET_USERKEY 	HAL_GPIO_ReadPin(USER_KEY_GPIO_Port,USER_KEY_Pin)
-#define STATIONARY_TIME 3
+#define STATIONARY_TIME 120
 /* USER CODE END Private defines */
 
 #ifdef __cplusplus

--
Gitblit v1.9.3