mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2025-12-12 17:36:15 +00:00
Introduced overflow detection code to the ISR State Machine
This commit is contained in:
@@ -57,8 +57,10 @@ void IRrecv::resume ( )
|
||||
// Results of decoding are stored in results
|
||||
int IRrecv::decode (decode_results *results)
|
||||
{
|
||||
results->rawbuf = irparams.rawbuf;
|
||||
results->rawlen = irparams.rawlen;
|
||||
results->rawbuf = irparams.rawbuf;
|
||||
results->rawlen = irparams.rawlen;
|
||||
|
||||
results->overflow = irparams.overflow;
|
||||
|
||||
if (irparams.rcvstate != STATE_STOP) return false ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user