These changes fix the issue #66 esp82xx and colorchord issues 45 and 46.
As we discussed then, some fix bugs that are part of esp82xx
The rest fix the bugs that appear when using esp82xx with colorchord.
These are fixed by more calls to EnterCritical() and ExitCritical().
(so using esp82xx in other situations when the above routines do nothing wont mess things up)
However, a refactoring will be due as the naming them Enter and Exit Critical is a bit misleading, as for colorchord it is a way to ensure the HPATimer is off at the right time.
Hi Charles,
These changes fix the issue #66 esp82xx and colorchord issues 45 and 46.
As we discussed then, some fix bugs that are part of esp82xx The rest fix the bugs that appear when using esp82xx with colorchord. These are fixed by more calls to EnterCritical() and ExitCritical(). (so using esp82xx in other situations when the above routines do nothing wont mess things up) However, a refactoring will be due as the naming them Enter and Exit Critical is a bit misleading, as for colorchord it is a way to ensure the HPATimer is off at the right time.