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:
commit
1c08cf2f79
|
@ -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[uart_num]->int_ena.val = intr_conf->intr_enable_mask;
|
||||||
UART_EXIT_CRITICAL(&uart_spinlock[uart_num]);
|
UART_EXIT_CRITICAL(&uart_spinlock[uart_num]);
|
||||||
return ESP_FAIL;
|
return ESP_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
//internal isr handler for default driver code.
|
//internal isr handler for default driver code.
|
||||||
|
|
Loading…
Reference in a new issue