diff --git a/library.json b/library.json index c482425..d9f4a3e 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "SimpleSerialProtocol", - "version": "1.3.0", + "version": "1.4.0", "description": "Easy-to-use serial protocol system for arduino type devices.", "keywords": "Serial, Connectivity, USB, Simple", "repository": diff --git a/src/SerialConnection.h b/src/SerialConnection.h index cab9cc4..622f9fc 100644 --- a/src/SerialConnection.h +++ b/src/SerialConnection.h @@ -21,9 +21,9 @@ class SerialConnection { private: - int serialBufferSize = 1024; - char serialBuffer[1024]; - char serialData[1024] = {0}; + int serialBufferSize = 512; + char serialBuffer[512]; + char serialData[512] = {0}; const char packetStartMarker = '<'; const char packetEndMarker = '>';