Skip to content

Commit dd79562

Browse files
committed
Merge branch 'bugfix/set_wifi_param_fail_v1.1' into 'release/v1.1.0.0'
fix: Set Wi-Fi param before Wi-Fi initiated will lead to crash See merge request application/esp-at!212
2 parents 3d4a116 + 2e96785 commit dd79562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/interface/uart/at_uart_task.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,6 @@ void at_task_init(void)
622622
#endif
623623

624624
nvs_flash_init();
625-
esp_at_factory_parameter_init();
626625
at_uart_init();
627626

628627
sprintf((char*)version, "compile time:%s %s\r\n", __DATE__, __TIME__);
@@ -636,6 +635,7 @@ void at_task_init(void)
636635
esp_at_custom_ops_regist(&esp_at_custom_ops);
637636
esp_at_module_init (CONFIG_LWIP_MAX_SOCKETS - 1, version); // reserved one for server
638637
free(version);
638+
esp_at_factory_parameter_init();
639639

640640
#ifdef CONFIG_AT_BASE_COMMAND_SUPPORT
641641
if(esp_at_base_cmd_regist() == false) {

0 commit comments

Comments
 (0)