mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
Removed logging in RMT driver which skews the timing. Issue #1345
Merges https://github.com/espressif/esp-idf/pull/1450
This commit is contained in:
committed by
Angus Gratton
parent
e7693b8700
commit
f7f52414ec
@@ -540,7 +540,6 @@ static void IRAM_ATTR rmt_driver_isr_default(void* arg)
|
|||||||
switch(i % 3) {
|
switch(i % 3) {
|
||||||
//TX END
|
//TX END
|
||||||
case 0:
|
case 0:
|
||||||
ESP_EARLY_LOGD(RMT_TAG, "RMT INTR : TX END");
|
|
||||||
xSemaphoreGiveFromISR(p_rmt->tx_sem, &HPTaskAwoken);
|
xSemaphoreGiveFromISR(p_rmt->tx_sem, &HPTaskAwoken);
|
||||||
if(HPTaskAwoken == pdTRUE) {
|
if(HPTaskAwoken == pdTRUE) {
|
||||||
portYIELD_FROM_ISR();
|
portYIELD_FROM_ISR();
|
||||||
@@ -552,7 +551,6 @@ static void IRAM_ATTR rmt_driver_isr_default(void* arg)
|
|||||||
break;
|
break;
|
||||||
//RX_END
|
//RX_END
|
||||||
case 1:
|
case 1:
|
||||||
ESP_EARLY_LOGD(RMT_TAG, "RMT INTR : RX END");
|
|
||||||
RMT.conf_ch[channel].conf1.rx_en = 0;
|
RMT.conf_ch[channel].conf1.rx_en = 0;
|
||||||
int item_len = rmt_get_mem_len(channel);
|
int item_len = rmt_get_mem_len(channel);
|
||||||
//change memory owner to protect data.
|
//change memory owner to protect data.
|
||||||
@@ -590,7 +588,7 @@ static void IRAM_ATTR rmt_driver_isr_default(void* arg)
|
|||||||
channel = i - 24;
|
channel = i - 24;
|
||||||
rmt_obj_t* p_rmt = p_rmt_obj[channel];
|
rmt_obj_t* p_rmt = p_rmt_obj[channel];
|
||||||
RMT.int_clr.val = BIT(i);
|
RMT.int_clr.val = BIT(i);
|
||||||
ESP_EARLY_LOGD(RMT_TAG, "RMT CH[%d]: EVT INTR", channel);
|
|
||||||
if(p_rmt->tx_data == NULL) {
|
if(p_rmt->tx_data == NULL) {
|
||||||
//skip
|
//skip
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user