Skip to content

Commit

Permalink
Merge branch 'bugfix/uart1_cannot_work_sometimes' into 'master'
Browse files Browse the repository at this point in the history
fix(ESPAT-1933): Fixed that uart port cannot work sometimes

See merge request application/esp-at!1521
  • Loading branch information
xcguang committed Feb 20, 2024
2 parents 9061bdb + 63717d0 commit e31fc98
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 @@ -180,8 +180,8 @@ static void at_uart_init(void)

// set uart configuration
uart_config_t config;
at_uart_config_init(&config);
if (!at_nvs_uart_config_get(&config)) {
at_uart_config_init(&config);
at_nvs_uart_config_set(&config);
}
uart_param_config(g_at_cmd_port, &config);
Expand Down

0 comments on commit e31fc98

Please sign in to comment.