gpio: return correct return value for libsoc_gpio_wait_interrupt()
Closed this issue · 1 comments
yegorich commented
In current implementation the libsoc_gpio_wait_interrupt() routine returns EXIT_FAILURE for both failed poll() and timeout event. Modify return value to distinguish between system call failure and timeout.
jackmitch commented
Ok, I've fixed this up. Thanks for the report and sorry it took so long! Cheers.