Whitespace cleanup on for() loops

This commit is contained in:
Bluechip
2015-06-17 23:12:32 +01:00
parent 7d926499b4
commit 6af9a1b485

View File

@@ -1129,7 +1129,7 @@ long IRrecv::decodeHash (decode_results *results)
// Require at least 6 samples to prevent triggering on noise
if (results->rawlen < 6) return ERR ;
long hash = FNV_BASIS_32;
for (int i = 1; i+2 < results->rawlen; i++) {
for (int i = 1; (i + 2) < results->rawlen; i++) {
int value = compare(results->rawbuf[i], results->rawbuf[i+2]);
// Add value into the hash
hash = (hash * FNV_PRIME_32) ^ value;