someweisguy / esp_dmx

Espressif ESP32 implementation of ANSI-ESTA E1.11 DMX-512A and E1.20 RDM
MIT License
335 stars 35 forks source link

allow gptimer to fail gracefully #54

Closed someweisguy closed 1 year ago

someweisguy commented 1 year ago

This PR adds a an error check when calling gptimer_new_timer() inside dmx_driver_install(). It simply checks to see if an error occurred when creating a new gptimer and allows the driver installation to fail if needed.