in file IRsmallDecoder.h not sure but I think it is better to reverse the order of below lines!! 91 _irCopyingData=false; //an ATOMIC_BLOCK would be better, but it's not supported on many boards 92 _irDataAvailable=false;