mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2025-05-04 07:10:16 +00:00
isSubBufferOverflow fix
This commit is contained in:
parent
db86bcf74c
commit
762fb21226
@ -21,6 +21,7 @@ void IR_DecoderRaw::isr() {
|
||||
|
||||
if (firstUnHandledFront == nullptr) {
|
||||
firstUnHandledFront = &subBuffer[currentSubBufferIndex]; // Если нет необработанных данных - добавляем их
|
||||
isSubBufferOverflow = false;
|
||||
} else {
|
||||
if (firstUnHandledFront == &subBuffer[currentSubBufferIndex]) { // Если контроллер не успел обработать новый сигнал, принудительно пропускаем его
|
||||
firstUnHandledFront = firstUnHandledFront->next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user