esp-idf/components/driver/twai
Nebojsa Cvetkovic 075bbb526c twai: twai_driver_install() returns error on interrupt allocation failure
This commit updates twai_driver_install() so that an error is returned when
esp_intr_alloc() fails, instead of aborting.

Closes https://github.com/espressif/esp-idf/pull/11494

[darian@espressif.com: Refactored object allocation and free procedures]
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2023-08-15 03:26:10 +00:00
..
include/driver
twai.c twai: twai_driver_install() returns error on interrupt allocation failure 2023-08-15 03:26:10 +00:00