diff --git a/src/PhysicalInterfaces/TICC1100.cpp b/src/PhysicalInterfaces/TICC1100.cpp index 8ad1637..bae5f18 100644 --- a/src/PhysicalInterfaces/TICC1100.cpp +++ b/src/PhysicalInterfaces/TICC1100.cpp @@ -1125,6 +1125,7 @@ void TICC1100::mainThread() } _txMutex.unlock(); //Make sure _txMutex is unlocked + closeGPIO(1); initDevice(); closeGPIO(1); std::this_thread::sleep_for(std::chrono::milliseconds(1000)); @@ -1171,7 +1172,7 @@ void TICC1100::mainThread() uint8_t firstByte = readRegister(Registers::Enum::FIFO); std::vector encodedData = readRegisters(Registers::Enum::FIFO, firstByte + 1); //Read packet + RSSI std::vector decodedData(encodedData.size()); - if(decodedData.size() > 100) + if(decodedData.size() > 200) { if(!_firstPacket) {