From: Ivan Grokhotkov Date: Tue, 21 Mar 2017 06:46:30 +0000 (+0800) Subject: Merge branch 'bugfix/touch_pad_read_takes_too_much_time' into 'master' X-Git-Tag: v2.1-rc1~251 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4e8a903c32126f9334b0048b3e4d6a2735aea93;p=esp-idf Merge branch 'bugfix/touch_pad_read_takes_too_much_time' into 'master' modify touch pad read function 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". See merge request !543 --- e4e8a903c32126f9334b0048b3e4d6a2735aea93