app/arduino/InfraArdCom/src/IRSendRev.cpp
int IRSendRev::decode(decode_results *results)
{
  //results->rawbuf = irparams.rawbuf;
  //results->rawlen = irparams.rawlen;
  if (irparams.rcvstate != STATE_STOP)
  {
    return ERR;
  }
  // Throw away and start over
  //modified:
  ClearNew();
  // end modified
  return 1;
}
// Decodes the received IR message
// Returns 0 if no data ready, 1 if data ready.
// Results of decoding are stored in results
Decodes the received IR message
Returns 0 if no data ready, 1 if data ready.
Results of decoding are stored in results
Decodes the received IR message Returns 0 if no data ready 1 if data ready . Results of decoding are stored in results
int IRSendRev::decode(decode_results *results)
{
  if (irparams.rcvstate != STATE_STOP)
  {
    return ERR;
  }
  ClearNew();
  return 1;
}
int IRSendRev :: decode ( decode_results * results ) { if ( irparams . rcvstate != STATE_STOP ) { return ERR ; } ClearNew ( ) ; return 1 ; }
Decodes the received IR message
Returns 0 if no data ready, 1 if data ready.
Decodes the received IR message Returns 0 if no data ready 1 if data ready .
//results->rawbuf = irparams.rawbuf; //results->rawlen = irparams.rawlen; // Throw away and start over //modified: // end modified