From d8a6d069f2a7f2b836c84c5be40abed3dd393297 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期三, 04 十二月 2024 16:26:57 +0800 Subject: [PATCH] V1.33,修复充电重启bug,修复灯充电常量bug,可以跟1.24的lora免布线基站测距 --- Src/system_stm32l0xx.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Src/system_stm32l0xx.c b/Src/system_stm32l0xx.c index 2a952b4..bcc7bfb 100644 --- a/Src/system_stm32l0xx.c +++ b/Src/system_stm32l0xx.c @@ -69,7 +69,7 @@ */ /** - * @} + * @ } */ /** @addtogroup STM32L0xx_System_Private_Defines @@ -80,8 +80,12 @@ /*!< Uncomment the following line if you need to relocate your vector Table in Internal SRAM. */ /* #define VECT_TAB_SRAM */ -#define VECT_TAB_OFFSET 0x7800U /*!< Vector Table base offset field. - This value must be a multiple of 0x100. */ +#ifndef _NO_HANGJIN +#define VECT_TAB_OFFSET 0x7800U /*!< Vector Table base offset field.This value must be a multiple of 0x100. */ +#else +#define VECT_TAB_OFFSET 0x5000U +#endif + /******************************************************************************/ /** * @} -- Gitblit v1.9.3