mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
Merge branch 'feature/adjust_log_level_about_uart' into 'master'
feat: Adjust log level about UART See merge request idf/esp-idf!2047
This commit is contained in:
@@ -854,7 +854,7 @@ static void uart_rx_intr_handler_default(void *param)
|
|||||||
p_uart->rx_buffered_len + pat_idx);
|
p_uart->rx_buffered_len + pat_idx);
|
||||||
}
|
}
|
||||||
if ((p_uart->xQueueUart != NULL) && (pdFALSE == xQueueSendFromISR(p_uart->xQueueUart, (void * )&uart_event, &HPTaskAwoken))) {
|
if ((p_uart->xQueueUart != NULL) && (pdFALSE == xQueueSendFromISR(p_uart->xQueueUart, (void * )&uart_event, &HPTaskAwoken))) {
|
||||||
ESP_EARLY_LOGW(UART_TAG, "UART event queue full");
|
ESP_EARLY_LOGV(UART_TAG, "UART event queue full");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
uart_event.type = UART_BUFFER_FULL;
|
uart_event.type = UART_BUFFER_FULL;
|
||||||
@@ -940,7 +940,7 @@ static void uart_rx_intr_handler_default(void *param)
|
|||||||
|
|
||||||
if(uart_event.type != UART_EVENT_MAX && p_uart->xQueueUart) {
|
if(uart_event.type != UART_EVENT_MAX && p_uart->xQueueUart) {
|
||||||
if (pdFALSE == xQueueSendFromISR(p_uart->xQueueUart, (void * )&uart_event, &HPTaskAwoken)) {
|
if (pdFALSE == xQueueSendFromISR(p_uart->xQueueUart, (void * )&uart_event, &HPTaskAwoken)) {
|
||||||
ESP_EARLY_LOGW(UART_TAG, "UART event queue full");
|
ESP_EARLY_LOGV(UART_TAG, "UART event queue full");
|
||||||
}
|
}
|
||||||
if(HPTaskAwoken == pdTRUE) {
|
if(HPTaskAwoken == pdTRUE) {
|
||||||
portYIELD_FROM_ISR() ;
|
portYIELD_FROM_ISR() ;
|
||||||
|
Reference in New Issue
Block a user