mirror of https://github.com/arendst/Tasmota.git
Fix compilation
This commit is contained in:
parent
f96c964de5
commit
7e3b1979c6
|
@ -278,7 +278,7 @@ void IrReceiveCheck(void)
|
|||
prev_number = true;
|
||||
}
|
||||
ir_high = !ir_high;
|
||||
if (ResponseLength() > ResponseSize()) - 40) { break; } // Quit if char string becomes too long
|
||||
if (ResponseLength() + 40 > ResponseSize()) { break; } // Quit if char string becomes too long
|
||||
}
|
||||
uint16_t extended_length = getCorrectedRawLength(&results);
|
||||
ResponseAppend_P(PSTR("\",\"" D_JSON_IR_RAWDATA "Info\":[%d,%d,%d]"), extended_length, i -1, results.overflow);
|
||||
|
|
|
@ -307,7 +307,7 @@ void IrReceiveCheck(void)
|
|||
prev_number = true;
|
||||
}
|
||||
ir_high = !ir_high;
|
||||
if (ResponseLength() > ResponseSize()) - 40) { break; } // Quit if char string becomes too long
|
||||
if (ResponseLength() + 40 > ResponseSize()) { break; } // Quit if char string becomes too long
|
||||
}
|
||||
uint16_t extended_length = getCorrectedRawLength(&results);
|
||||
ResponseAppend_P(PSTR("\",\"" D_JSON_IR_RAWDATA "Info\":[%d,%d,%d]"), extended_length, i -1, results.overflow);
|
||||
|
|
Loading…
Reference in New Issue