little opti

This commit is contained in:
2024-02-28 13:53:27 +03:00
parent 4fd4983bb9
commit 434e1aaa90
4 changed files with 8 additions and 8 deletions

View File

@ -72,7 +72,6 @@ private:
////////////////////////////////////////////////////////////////////////
uint8_t dataBuffer[dataByteSizeMax] { 0 }; // Буффер данных
uint32_t prevRise, prevPrevRise, prevFall, prevPrevFall; // Время предыдущих фронтов/спадов
uint32_t risePeriod;
uint16_t errorCounter = 0; // Счётчик ошибок
int8_t preambFrontCounter = 0; // Счётчик __/``` ↑ преамбулы
int16_t bufBitPos = 0; // Позиция для записи бита в буффер