@linlin0904 wrote:
I used state machine, so there should not have any race condition?
Well that is not necessarily true...
Only way to know for sure is for you to post your code.
========================
=== Engineer Ambiguously ===
========================