mirror of
https://github.com/espressif/esp-idf
synced 2025-04-07 07:10:10 -04:00
The touch pad read function taks too much time within spin lock waiting for the "done bit". (about 7.6ms as we tested) So we try to use a mutex on the touch read function and any other functions might change the "done bit".