mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2025-12-23 14:56:15 +00:00
Whitespace cleanup on for() loops
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user