mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2025-06-27 20:59:37 +00:00
little opti
This commit is contained in:
@ -103,7 +103,8 @@ void IR_DecoderRaw::tick() {
|
||||
}
|
||||
}
|
||||
|
||||
if (preambFrontCounter > 0) { // в преамбуле
|
||||
if (preambFrontCounter) { // в преамбуле
|
||||
uint32_t risePeriod;
|
||||
risePeriod = currentFront.time - prevRise;
|
||||
if (currentFront.dir && risePeriod < IR_timeout) { // __/``` ↑ и мы в внутри пакета
|
||||
|
||||
|
Reference in New Issue
Block a user