shirriff/Arduino-IRremote — pull request #77 by ManuRamakrishnaiah (2014-08-18 20:19:55+00:00)
Title: IRRemote.ccp

long IRrecv::decodeSony(decode_results *results) {
long data = 0;
if (irparams.rawlen < 2 * SONY_BITS + 2) {
return ERR;
}
int offset = 0; // Dont skip first space, check its size

// Some Sony's deliver repeats fast after first
// unfortunately can't spot difference from of repeat from two fast clicks
if (results->rawbuf[offset] < SONY_DOUBLE_SPACE_USECS) {
// Serial.print("IR Gap found: ");
results->bits = 0;
results->value = REPEAT;
results->decode_type = SANYO;
return DECODED;
}

I downloaded the zip file i went through the code. in the decodesony function definition the line

"results->decode_type = SANYO;" should be " results->decode_type = SONY;"

pls tell me is it right as "results->decode_type = SANYO;" or " results->decode_type = SONY;"