Skip to content

Commit

Permalink
Merge branch 'bugfix/set_wifi_param_fail_v1.1' into 'release/v1.1.0.0'
Browse files Browse the repository at this point in the history
fix: Set Wi-Fi param before Wi-Fi initiated will lead to crash

See merge request application/esp-at!212
  • Loading branch information
xcguang committed Dec 18, 2018
2 parents 3d4a116 + 2e96785 commit dd79562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/interface/uart/at_uart_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,6 @@ void at_task_init(void)
#endif

nvs_flash_init();
esp_at_factory_parameter_init();
at_uart_init();

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

#ifdef CONFIG_AT_BASE_COMMAND_SUPPORT
if(esp_at_base_cmd_regist() == false) {
Expand Down

0 comments on commit dd79562

Please sign in to comment.