diff --git a/App/Src/inflash.c b/App/Src/inflash.c index 1660737..7687830 100644 --- a/App/Src/inflash.c +++ b/App/Src/inflash.c @@ -5,7 +5,7 @@ config_info g_stConfigInfo={ .flag_head = FLAG_SAVE_INFLASH_HEAD, - .addr = 0x31, /* 默认地址 */ + .addr = 0x30, /* 默认地址 */ .net_id = 0x00, /* 默认网络ID */ .mac_info_h = 0xFF, .mac_info_l = 0xF0, diff --git a/Core/Src/main.c b/Core/Src/main.c index 2977a33..0b12566 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -316,7 +316,8 @@ int main(void) // HAL_DAC_SetValue(&hdac1,DAC_CHANNEL_1,DAC_ALIGN_12B_R,2048); //HAL_ADC_Start_DMA(&hadc1,(uint32_t *)result_data,DATA_LEN); // HAL_GPIO_TogglePin(GPIO_LED_GPIO_Port, GPIO_LED_Pin); - HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON,PWR_SLEEPENTRY_WFI); + +// HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON,PWR_SLEEPENTRY_WFI); // HAL_TIM_Base_Start(&htim6); diff --git a/EWARM/STM32L431_XL_CURRENT_V10.ewd b/EWARM/STM32L431_XL_CURRENT_V10.ewd index 482acfb..c858a94 100644 --- a/EWARM/STM32L431_XL_CURRENT_V10.ewd +++ b/EWARM/STM32L431_XL_CURRENT_V10.ewd @@ -84,7 +84,7 @@