1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/esp32: fix wrong control flow

This commit is contained in:
Marian Buschsieweke 2021-11-16 20:56:58 +01:00
parent e46c1f732e
commit b2f9e2c226
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -786,9 +786,9 @@ static void IRAM_ATTR _esp_can_intr_handler(void *arg)
DEBUG("%s error passive interrupt %d %d\n", __func__,
CAN.tx_error_counter_reg.byte,
CAN.rx_error_counter_reg.byte);
/* save the event */
dev->events |= ESP_CAN_EVENT_ERROR_PASSIVE;
}
/* save the event */
dev->events |= ESP_CAN_EVENT_ERROR_PASSIVE;
}
/*