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:
parent
e46c1f732e
commit
b2f9e2c226
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user