mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 07:34:32 +02:00
Merge branch 'bugfix/uart_intr_config' into 'master'
uart_intr_config should return ESP_OK on success Github PR #170 https://github.com/espressif/esp-idf/pull/170 See merge request !339
This commit is contained in:
@@ -464,7 +464,7 @@ esp_err_t uart_intr_config(uart_port_t uart_num, const uart_intr_config_t *intr_
|
||||
}
|
||||
UART[uart_num]->int_ena.val = intr_conf->intr_enable_mask;
|
||||
UART_EXIT_CRITICAL(&uart_spinlock[uart_num]);
|
||||
return ESP_FAIL;
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
//internal isr handler for default driver code.
|
||||
|
Reference in New Issue
Block a user